mirror of
https://github.com/sim1222/misskey.git
synced 2025-07-02 00:40:04 +09:00
✌️
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user