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

Function setup

test/integration/event.js:19–27  ·  view source on GitHub ↗
(hooks)

Source from the content-addressed store, hash-verified

17 };
18
19 var setup = function (hooks) {
20 return function (done) {
21 Person = db.define("person", {
22 name : { type: "text", required: true }
23 });
24
25 return helper.dropSync(Person, done);
26 };
27 };
28
29 before(function (done) {
30 helper.connect(function (connection) {

Callers 1

event.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected