@@ -7,7 +7,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
77 // EZETH/USD - Test includes.json mapping
88 socket . send (
99 JSON . stringify ( {
10- timestamp : Date . now ( ) + 500 ,
10+ timestamp : 1514764861000 + 500 ,
1111 price : 4233.15 ,
1212 marketDepthUSDUp : 1097741407.1171298 ,
1313 marketDepthUSDDown : 1032495335.1741029 ,
@@ -22,7 +22,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
2222 // EZETH/ETH - Test hardcoded ETH quote and composite key
2323 socket . send (
2424 JSON . stringify ( {
25- timestamp : Date . now ( ) + 500 ,
25+ timestamp : 1514764861000 + 500 ,
2626 price : 1.0612 ,
2727 marketDepthUSDUp : 500000 ,
2828 marketDepthUSDDown : 450000 ,
@@ -37,7 +37,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
3737 // CBETH/ETH - Test includes.json mapping with hardcoded ETH quote
3838 socket . send (
3939 JSON . stringify ( {
40- timestamp : Date . now ( ) + 500 ,
40+ timestamp : 1514764861000 + 500 ,
4141 price : 1.0456 ,
4242 marketDepthUSDUp : 800000 ,
4343 marketDepthUSDDown : 750000 ,
@@ -52,7 +52,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
5252 // LBTC/BTC - Test includes.json mapping with hardcoded BTC quote
5353 socket . send (
5454 JSON . stringify ( {
55- timestamp : Date . now ( ) + 500 ,
55+ timestamp : 1514764861000 + 500 ,
5656 price : 0.9985 ,
5757 marketDepthUSDUp : 1200000 ,
5858 marketDepthUSDDown : 1100000 ,
@@ -67,7 +67,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
6767 // GHO/USD - Test includes.json mapping
6868 socket . send (
6969 JSON . stringify ( {
70- timestamp : Date . now ( ) + 500 ,
70+ timestamp : 1514764861000 + 500 ,
7171 price : 1.0012 ,
7272 marketDepthUSDUp : 300000 ,
7373 marketDepthUSDDown : 290000 ,
@@ -82,7 +82,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
8282 // TESTCOIN/USD - Test base override functionality
8383 socket . send (
8484 JSON . stringify ( {
85- timestamp : Date . now ( ) + 500 ,
85+ timestamp : 1514764861000 + 500 ,
8686 price : 125.67 ,
8787 marketDepthUSDUp : 150000 ,
8888 marketDepthUSDDown : 140000 ,
@@ -97,7 +97,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
9797 // ANOTHERCOIN/BTC - Test base override with hardcoded BTC quote
9898 socket . send (
9999 JSON . stringify ( {
100- timestamp : Date . now ( ) + 500 ,
100+ timestamp : 1514764861000 + 500 ,
101101 price : 0.00123456 ,
102102 marketDepthUSDUp : 90000 ,
103103 marketDepthUSDDown : 85000 ,
@@ -112,7 +112,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
112112 // CUSTOMTOKEN/ETH - Test base override with hardcoded ETH quote
113113 socket . send (
114114 JSON . stringify ( {
115- timestamp : Date . now ( ) + 500 ,
115+ timestamp : 1514764861000 + 500 ,
116116 price : 0.0456789 ,
117117 marketDepthUSDUp : 60000 ,
118118 marketDepthUSDDown : 55000 ,
@@ -127,7 +127,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
127127 // EZETH/CUSTOMQUOTE - Test quote override (CUSTOMQUOTE overridden to ETH asset ID)
128128 socket . send (
129129 JSON . stringify ( {
130- timestamp : Date . now ( ) + 500 ,
130+ timestamp : 1514764861000 + 500 ,
131131 price : 1.0612 ,
132132 marketDepthUSDUp : 500000 ,
133133 marketDepthUSDDown : 450000 ,
@@ -142,7 +142,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
142142 // Direct asset ID usage: 102478632/USD (EZETH asset ID as base)
143143 socket . send (
144144 JSON . stringify ( {
145- timestamp : Date . now ( ) + 500 ,
145+ timestamp : 1514764861000 + 500 ,
146146 price : 4233.15 ,
147147 marketDepthUSDUp : 1097741407.1171298 ,
148148 marketDepthUSDDown : 1032495335.1741029 ,
@@ -157,7 +157,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
157157 // Direct asset ID usage: 2921/100001656 (GHO/BTC using asset IDs)
158158 socket . send (
159159 JSON . stringify ( {
160- timestamp : Date . now ( ) + 500 ,
160+ timestamp : 1514764861000 + 500 ,
161161 price : 0.0000102 ,
162162 marketDepthUSDUp : 300000 ,
163163 marketDepthUSDDown : 290000 ,
@@ -172,7 +172,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
172172 // Direct asset ID usage: 100029813/100004304 (CBETH/ETH using asset IDs)
173173 socket . send (
174174 JSON . stringify ( {
175- timestamp : Date . now ( ) + 500 ,
175+ timestamp : 1514764861000 + 500 ,
176176 price : 1.0456 ,
177177 marketDepthUSDUp : 800000 ,
178178 marketDepthUSDDown : 750000 ,
@@ -187,7 +187,7 @@ export const mockWebsocketServer = (URL: string): MockWebsocketServer => {
187187 // Direct asset ID usage: 102484658/100010811 (LBTC/SOL using asset IDs)
188188 socket . send (
189189 JSON . stringify ( {
190- timestamp : Date . now ( ) + 500 ,
190+ timestamp : 1514764861000 + 500 ,
191191 price : 3.456 ,
192192 marketDepthUSDUp : 1200000 ,
193193 marketDepthUSDDown : 1100000 ,
0 commit comments