mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-19 14:21:28 +00:00
Triyng to setup api tests
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
require('app-module-path').addPath('./server');
|
||||
|
||||
// initialize config
|
||||
const config = require('nconf')
|
||||
@@ -7,11 +8,9 @@ const config = require('nconf')
|
||||
.file('environment', { file: `../config/${process.env.NODE_ENV}.json` })
|
||||
.file('defaults', { file: '../config/default.json' });
|
||||
|
||||
// other libs
|
||||
const should = require('chai').use(require('chai-as-promised')).should();
|
||||
|
||||
|
||||
|
||||
module.exports = {
|
||||
config: config,
|
||||
should: should,
|
||||
|
||||
Reference in New Issue
Block a user