mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
14 lines
268 B
JavaScript
14 lines
268 B
JavaScript
/**
|
|
* 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);
|