MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / eqAll

Function eqAll

lib/web/CodeMirror/test/doc_test.js:39–46  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

37 }
38
39 function eqAll(val) {
40 var end = arguments.length, msg = null;
41 if (typeof arguments[end-1] == "string")
42 msg = arguments[--end];
43 if (i == end) throw new Error("No editors provided to eqAll");
44 for (var i = 1; i < end; ++i)
45 eq(arguments[i].getValue(), val, msg)
46 }
47
48 function testDoc(name, spec, run, opts, expectFail) {
49 if (!opts) opts = {};

Callers 2

testBasicFunction · 0.85
doc_test.jsFile · 0.85

Calls 2

eqFunction · 0.85
getValueMethod · 0.45

Tested by

no test coverage detected