MCPcopy
hub / github.com/tc39/proposal-observable / testLength

Function testLength

test/helpers.js:1–8  ·  view source on GitHub ↗
(test, value, length)

Source from the content-addressed store, hash-verified

1function testLength(test, value, length) {
2
3 if (typeof value !== "function" || typeof length !== "number")
4 return;
5
6 test._("Function length is " + length)
7 .equals(value.length, length);
8}
9
10export function testMethodProperty(test, object, key, options) {
11

Callers 1

testMethodPropertyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected