MCPcopy
hub / github.com/TypeStrong/ts-node / runIf

Method runIf

src/test/testlib.ts:122–122  ·  view source on GitHub ↗

If conditional is true, run tests, otherwise skip them

(conditional: boolean)

Source from the content-addressed store, hash-verified

120 skipUnless(conditional: boolean): void;
121 /** If conditional is true, run tests, otherwise skip them */
122 runIf(conditional: boolean): void;
123 /** If conditional is false, skip tests */
124 skipIf(conditional: boolean): void;
125

Callers 8

esm-loader.spec.tsFile · 0.80
createTestInterfaceFunction · 0.80
resolver.spec.tsFile · 0.80
index.spec.tsFile · 0.80
1778.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected