MCPcopy Create free account
hub / github.com/nodejs/node / isSkipped

Function isSkipped

test/common/wpt/worker.js:49–58  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

47// the test scripts run.
48if (workerData.skippedTests?.length) {
49 function isSkipped(name) {
50 for (const matcher of workerData.skippedTests) {
51 if (typeof matcher === 'string') {
52 if (name === matcher) return true;
53 } else if (matcher.test(name)) {
54 return true;
55 }
56 }
57 return false;
58 }
59 for (const fn of ['test', 'async_test', 'promise_test']) {
60 const original = globalThis[fn];
61 globalThis[fn] = function(func, name, ...rest) {

Callers 1

worker.jsFile · 0.70

Calls 1

testMethod · 0.45

Tested by

no test coverage detected