MCPcopy Create free account
hub / github.com/developit/microbundle / test

Function test

test/fixtures/basic-babelrc/src/index.js:1–3  ·  view source on GitHub ↗
(param = throw new Error('required!'))

Source from the content-addressed store, hash-verified

1function test(param = throw new Error('required!')) {
2 return param === true || throw new Error('Falsey!');
3}
4
5test(true);
6test(false);

Callers 1

index.jsFile · 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…