Export filter helpers
Finds all test cases that match the given filter criteria. This is a convenience method that only returns matching tests.
The root suite to search through
The filter to apply for determining matches
Array of matched test cases
0.2.0
const filter = createTestIDFilter(["test-1", "test-2"]);const tests = findMatchingTests(rootSuite, filter); Copy
const filter = createTestIDFilter(["test-1", "test-2"]);const tests = findMatchingTests(rootSuite, filter);
Export filter helpers