MCPcopy Index your code
hub / github.com/nodejs/node / assertTestIsTentative

Function assertTestIsTentative

test/fixtures/wpt/resources/testdriver.js:26–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }
25
26 function assertTestIsTentative(){
27 const testPath = location.pathname;
28 const tentative = testPath.includes('.tentative.') || testPath.includes('/tentative/');
29 if (!tentative) {
30 throw new Error("Method in testdriver.js intended for tentative tests used in non-tentative test");
31 }
32 }
33
34 function getInViewCenterPoint(rect) {
35 var left = Math.max(0, rect.left);

Callers 1

testdriver.jsFile · 0.85

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected