1
0
forked from mirror/misskey
misskey/test/api.js

14 lines
268 B
JavaScript
Raw Normal View History

2017-01-17 08:26:59 +09:00
/**
* 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);