MCPcopy Create free account
hub / github.com/denoland/std / assertMinimumOptions

Function assertMinimumOptions

testing/bdd_test.ts:190–194  ·  view source on GitHub ↗

* Asserts that `Deno.test` is called with just the name and function for the `it` call in the callback function. * This is used to reduce code duplication when testing calling `it` with different call signatures.

(
    cb: (fn: Spy) => void,
  )

Source from the content-addressed store, hash-verified

188 * This is used to reduce code duplication when testing calling `it` with different call signatures.
189 */
190 async function assertMinimumOptions(
191 cb: (fn: Spy) => void,
192 ) {
193 await assertOptions({}, cb);
194 }
195
196 /**
197 * Asserts that `Deno.test` is called with all of the options for the `it` call in the callback function.

Callers 1

bdd_test.tsFile · 0.85

Calls 2

assertOptionsFunction · 0.85
assertIgnoreOptionsFunction · 0.85

Tested by

no test coverage detected