mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
switched to yarn, and started adding tests
Added tests for process job service so far... its a start..
This commit is contained in:
11
src/node/consumer/jest.config.cjs
Normal file
11
src/node/consumer/jest.config.cjs
Normal file
@@ -0,0 +1,11 @@
|
||||
const { pathsToModuleNameMapper } = require('ts-jest');
|
||||
const { compilerOptions } = require('./tsconfig.json');
|
||||
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/src/' }),
|
||||
modulePaths: [
|
||||
'<rootDir>'
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user