MCPcopy Create free account
hub / github.com/ccxt/ccxt / testMicroseconds

Function testMicroseconds

ts/src/test/base/test.datetime.ts:72–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72function testMicroseconds () {
73 const exchange = new ccxt.Exchange ({
74 'id': 'sampleexchange',
75 });
76 const value = exchange.microseconds ();
77 const valueString: string = value.toString ();
78 assert (value > 0);
79 assert (valueString.length === 16);
80}
81
82function testMilliseconds () {
83 const exchange = new ccxt.Exchange ({

Callers 1

testDatetimeFunction · 0.70

Calls 3

microsecondsMethod · 0.95
assertFunction · 0.50
toStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…