Files
bonob/register.js
2021-01-26 18:04:36 +11:00

13 lines
286 B
JavaScript

/**
* Overrides the tsconfig used for the app.
* In the test environment we need some tweaks.
*/
const tsNode = require('ts-node');
const testTSConfig = require('./tests/tsconfig.json');
tsNode.register({
files: true,
transpileOnly: true,
project: './tests/tsconfig.json'
});