[WIP] test
This commit is contained in:
parent
33b6c232c9
commit
f76d55b1d2
2 changed files with 21 additions and 4 deletions
13
test/api.js
Normal file
13
test/api.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* API TESTS
|
||||
*/
|
||||
|
||||
// During the test the env variable is set to test
|
||||
process.env.NODE_ENV = 'test';
|
||||
|
||||
const chai = require('chai');
|
||||
const chaiHttp = require('chai-http');
|
||||
const server = require('../built/server');
|
||||
const should = chai.should();
|
||||
|
||||
chai.use(chaiHttp);
|
Loading…
Add table
Add a link
Reference in a new issue