MCPcopy Create free account
hub / github.com/tensorflow/tfjs / customInclude

Function customInclude

tfjs-backend-wasm/src/setup_test.ts:414–426  ·  view source on GitHub ↗
(testName: string)

Source from the content-addressed store, hash-verified

412];
413
414const customInclude = (testName: string) => {
415 // Include all regular describe() tests.
416 if (testName.indexOf('test-wasm') < 0) {
417 return true;
418 }
419
420 // Include all of the wasm specific tests.
421 if (testName.startsWith('wasm')) {
422 return true;
423 }
424
425 return false;
426};
427setupTestFilters(TEST_FILTERS, customInclude);
428
429beforeAll(setupCachedWasmPaths, 30_000);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…