(exchange: Exchange, skippedProperties: object, method: string, entry: any[] | object, key: string | number)
| 605 | } |
| 606 | |
| 607 | function assertRoundMinuteTimestamp (exchange: Exchange, skippedProperties: object, method: string, entry: any[] | object, key: string | number) { |
| 608 | if (key in skippedProperties) { |
| 609 | return; |
| 610 | } |
| 611 | const logText = logTemplate (exchange, method, entry); |
| 612 | const ts = exchange.safeString (entry, key); |
| 613 | assert (Precise.stringMod (ts, '60000') === '0', 'timestamp should be a multiple of 60 seconds (1 minute)' + logText); |
| 614 | } |
| 615 | |
| 616 | function deepEqual (exchange: Exchange, a: any, b: any) { |
| 617 | return exchange.jsonStringifyWithNull (a) === exchange.jsonStringifyWithNull (b); |
nothing calls this directly
no test coverage detected
searching dependent graphs…