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

Method willBeFilteredByName

lib/internal/test_runner/test.js:876–886  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

874 }
875
876 willBeFilteredByName() {
877 const { testNamePatterns, testSkipPatterns } = this.config;
878
879 if (testNamePatterns && !testMatchesPattern(this, testNamePatterns)) {
880 return true;
881 }
882 if (testSkipPatterns && testMatchesPattern(this, testSkipPatterns)) {
883 return true;
884 }
885 return false;
886 }
887
888 /**
889 * Returns a name of the test prefixed by name of all its ancestors in ascending order, separated by a space

Callers 1

constructorMethod · 0.95

Calls 1

testMatchesPatternFunction · 0.85

Tested by

no test coverage detected