MCPcopy Create free account
hub / github.com/dresende/node-orm2 / checkValidation

Function checkValidation

test/integration/predefined-validators.js:8–14  ·  view source on GitHub ↗
(done, expected)

Source from the content-addressed store, hash-verified

6var undef = undefined;
7
8function checkValidation(done, expected) {
9 return function (returned) {
10 should.equal(returned, expected);
11
12 return done();
13 };
14}
15
16describe("Predefined Validators", function () {
17

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected