1 | var nconf = require('nconf');
|
2 | var authmakerVerify = rootRequire('./index');
|
3 |
|
4 | nconf.defaults({
|
5 | "mongo": {
|
6 | "authmaker": {
|
7 | "db": "authmaker-verify-test",
|
8 | "host": "localhost",
|
9 | "port": 27017
|
10 | }
|
11 | }
|
12 | });
|
13 |
|
14 | before(function() {
|
15 | authmakerVerify.connectMongo(nconf);
|
16 | });
|