MCPcopy Create free account
hub / github.com/nodejs/node / basic.any.js

File basic.any.js

test/fixtures/wpt/hr-time/basic.any.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1test(function() {
2 assert_true((self.performance !== undefined), "self.performance exists");
3 assert_equals(typeof self.performance, "object", "self.performance is an object");
4 assert_equals((typeof self.performance.now), "function", "self.performance.now() is a function");

Callers

nothing calls this directly

Calls 9

nowMethod · 0.80
dispatchEventMethod · 0.80
addEventListenerMethod · 0.65
testFunction · 0.50
assert_trueFunction · 0.50
assert_equalsFunction · 0.50
async_testFunction · 0.50
assert_approx_equalsFunction · 0.50
doneMethod · 0.45

Tested by

no test coverage detected