Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cucumber.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const common = [
'--require-module ts-node/register' // Load TypeScript module
'--require-module ts-node/register', // Load TypeScript module
'--require-module tsconfig-paths/register' // Load tsconfig.json paths
];

const mooc_backend = [
Expand Down
7 changes: 6 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
const tsconfig = require('./tsconfig.json')
const moduleNameMapper = require('tsconfig-paths-jest')(tsconfig)


module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
cacheDirectory: '.tmp/jestCache'
cacheDirectory: '.tmp/jestCache',
moduleNameMapper
};
Loading