diff --git a/backend/jest.config.js b/backend/jest.config.js index 981475807..75b674cb1 100644 --- a/backend/jest.config.js +++ b/backend/jest.config.js @@ -9,10 +9,13 @@ module.exports = async () => { moduleNameMapper: { '@entity/(.*)': '/../database/build/entity/$1', // This is hack to fix a problem with the library `ts-mysql-migrate` which does differentiate between its ts/js state + '@dbTools/(.*)': '/../database/src/$1', + /* '@dbTools/(.*)': process.env.NODE_ENV === 'development' ? '/../database/src/$1' : '/../database/build/src/$1', + */ }, } }