mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
✌️
This commit is contained in:
parent
e25a2d567c
commit
4f69c2fcc4
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,13 @@
|
||||||
// During the test the env variable is set to test
|
// During the test the env variable is set to test
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
||||||
|
// Display detail of unhandled promise rejection
|
||||||
|
process.on('unhandledRejection', console.dir);
|
||||||
|
|
||||||
|
// Init babel
|
||||||
|
require('babel-core/register');
|
||||||
|
require('babel-polyfill');
|
||||||
|
|
||||||
const chai = require('chai');
|
const chai = require('chai');
|
||||||
const chaiHttp = require('chai-http');
|
const chaiHttp = require('chai-http');
|
||||||
const should = chai.should();
|
const should = chai.should();
|
||||||
|
|
Loading…
Reference in a new issue