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

10 lines
186 B
JavaScript
Raw Permalink Normal View History

2018-03-15 21:29:04 +00:00
require('ts-node/register');
2017-02-19 18:19:45 +00:00
const chai = require('chai');
2017-02-19 21:53:06 +00:00
const chaiAsPromised = require('chai-as-promised');
2017-02-19 18:19:45 +00:00
chai.expect();
2017-02-19 21:53:06 +00:00
chai.use(chaiAsPromised);
process.env.NODE_ENV = 'test';