This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
tstatic/scripts/test-helper.js
2018-03-15 21:29:04 +00:00

9 lines
186 B
JavaScript

require('ts-node/register');
const chai = require('chai');
const chaiAsPromised = require('chai-as-promised');
chai.expect();
chai.use(chaiAsPromised);
process.env.NODE_ENV = 'test';