MCPcopy Create free account
hub / github.com/nodejs/node / urlpattern-hasregexpgroups-tests.js

File urlpattern-hasregexpgroups-tests.js

test/fixtures/wpt/urlpattern/resources/urlpattern-hasregexpgroups-tests.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1test(() => {
2 assert_implements('hasRegExpGroups' in URLPattern.prototype, "hasRegExpGroups is not implemented");
3 assert_false(new URLPattern({}).hasRegExpGroups, "match-everything pattern");
4 for (let component of ['protocol', 'username', 'password', 'hostname', 'port', 'pathname', 'search', 'hash']) {

Callers

nothing calls this directly

Calls 4

testFunction · 0.50
assert_implementsFunction · 0.50
assert_falseFunction · 0.50
assert_trueFunction · 0.50

Tested by

no test coverage detected