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

Function assertOrderingForDeclaringSkipUnless

src/test/testlib.ts:187–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185 hookDeclared = true;
186 }
187 function assertOrderingForDeclaringSkipUnless() {
188 if (suiteOrTestDeclared) {
189 throw new Error(
190 'skipUnless or runIf must be declared before declaring sub-suites or tests'
191 );
192 }
193 }
194 /**
195 * @param avaDeclareFunction either test or test.serial
196 */

Callers 1

createTestInterfaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…