Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thaaddeus committed Sep 29, 2021
1 parent 1c08bba commit daab203
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/__snapshots__/tardismachine.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
exports[`tardis-machine HTTP GET /replay-normalized replays Bitmex ETHUSD order book real time quotes and 6 second 5 levels snapshots 1`] = `
Array [
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"quote\\",\\"depth\\":1,\\"interval\\":0,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":156163}],\\"timestamp\\":\\"2019-06-01T00:00:00.412237Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.412237Z\\"}",
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"book_snapshot_5_6s\\",\\"depth\\":5,\\"interval\\":6000,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030},{\\"price\\":267.7,\\"amount\\":120},{\\"price\\":267.65,\\"amount\\":7000},{\\"price\\":267.6,\\"amount\\":32505},{\\"price\\":267.55,\\"amount\\":3706}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":156163},{\\"price\\":267.85,\\"amount\\":101300},{\\"price\\":267.9,\\"amount\\":4300},{\\"price\\":268,\\"amount\\":57195},{\\"price\\":268.05,\\"amount\\":300}],\\"timestamp\\":\\"2019-06-01T00:00:00.412237Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.412237Z\\"}",
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"quote\\",\\"depth\\":1,\\"interval\\":0,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":155284}],\\"timestamp\\":\\"2019-06-01T00:00:00.413511Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.413511Z\\"}",
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"quote\\",\\"depth\\":1,\\"interval\\":0,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":153891}],\\"timestamp\\":\\"2019-06-01T00:00:00.414659Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.414659Z\\"}",
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"quote\\",\\"depth\\":1,\\"interval\\":0,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":153277}],\\"timestamp\\":\\"2019-06-01T00:00:00.414783Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.414783Z\\"}",
Expand Down Expand Up @@ -111910,6 +111911,7 @@ Array [
exports[`tardis-machine WS /ws-replay-normalized replays Bitmex ETHUSD order book real time quotes and 6 second 5 levels snapshots 1`] = `
Array [
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"quote\\",\\"depth\\":1,\\"interval\\":0,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":156163}],\\"timestamp\\":\\"2019-06-01T00:00:00.412237Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.412237Z\\"}",
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"book_snapshot_5_6s\\",\\"depth\\":5,\\"interval\\":6000,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030},{\\"price\\":267.7,\\"amount\\":120},{\\"price\\":267.65,\\"amount\\":7000},{\\"price\\":267.6,\\"amount\\":32505},{\\"price\\":267.55,\\"amount\\":3706}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":156163},{\\"price\\":267.85,\\"amount\\":101300},{\\"price\\":267.9,\\"amount\\":4300},{\\"price\\":268,\\"amount\\":57195},{\\"price\\":268.05,\\"amount\\":300}],\\"timestamp\\":\\"2019-06-01T00:00:00.412237Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.412237Z\\"}",
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"quote\\",\\"depth\\":1,\\"interval\\":0,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":155284}],\\"timestamp\\":\\"2019-06-01T00:00:00.413511Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.413511Z\\"}",
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"quote\\",\\"depth\\":1,\\"interval\\":0,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":153891}],\\"timestamp\\":\\"2019-06-01T00:00:00.414659Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.414659Z\\"}",
"{\\"type\\":\\"book_snapshot\\",\\"symbol\\":\\"ETHUSD\\",\\"exchange\\":\\"bitmex\\",\\"name\\":\\"quote\\",\\"depth\\":1,\\"interval\\":0,\\"bids\\":[{\\"price\\":267.75,\\"amount\\":9030}],\\"asks\\":[{\\"price\\":267.8,\\"amount\\":153277}],\\"timestamp\\":\\"2019-06-01T00:00:00.414783Z\\",\\"localTimestamp\\":\\"2019-06-01T00:00:00.414783Z\\"}",
Expand Down

0 comments on commit daab203

Please sign in to comment.