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

Method applyFilters

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

Source from the content-addressed store, hash-verified

849 }
850
851 applyFilters() {
852 if (this.error) {
853 // Never filter out errors.
854 return;
855 }
856
857 if (this.filteredByName) {
858 this.filtered = true;
859 return;
860 }
861
862 if (this.root.harness.isFilteringByOnly && !this.only && !this.hasOnlyTests) {
863 if (this.parent.runOnlySubtests ||
864 this.parent.hasOnlyTests ||
865 this.only === false) {
866 this.filtered = true;
867 return;
868 }
869 }
870
871 if (this.filteredByTag) {
872 this.filtered = true;
873 }
874 }
875
876 willBeFilteredByName() {
877 const { testNamePatterns, testSkipPatterns } = this.config;

Callers 1

startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected