This will change the pure tests Mocha setup to actually use the `tsconfig.json` located in the `test` directory. Before, it was using the root-level `tsconfig.json`. To ensure we are still using mostly the same settings, this will extend the `test/tsconfig.json` from the root-level `tsconfig.json`.
9 lines
169 B
JavaScript
9 lines
169 B
JavaScript
const path = require('path');
|
|
|
|
require('ts-node').register({
|
|
project: path.resolve(__dirname, 'tsconfig.json')
|
|
})
|
|
|
|
process.env.TZ = 'UTC';
|
|
process.env.LANG = 'en-US';
|