2020-07-14 15:57:29 +00:00
|
|
|
const path = require('path');
|
|
|
|
|
2020-07-13 09:22:26 +00:00
|
|
|
require('ts-node').register({
|
|
|
|
/**
|
|
|
|
* We ignore the lib/ directory because that's already been TypeScript
|
|
|
|
* compiled and checked. So we don't want to check it again as part of running
|
|
|
|
* the unit tests.
|
|
|
|
*/
|
|
|
|
ignore: ['lib/*', 'node_modules'],
|
2020-07-14 15:57:29 +00:00
|
|
|
project: path.join(__dirname, 'tsconfig.test.json'),
|
2020-07-13 09:22:26 +00:00
|
|
|
});
|