diff --git a/backend/jest.config.js b/backend/jest.config.js index 79add8789..9d99c68f6 100644 --- a/backend/jest.config.js +++ b/backend/jest.config.js @@ -7,6 +7,9 @@ module.exports = { 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/(.*)': process.env.NODE_ENV === 'development' ? '/../database/src/$1' : '/../database/build/src/$1', + '@dbTools/(.*)': + process.env.NODE_ENV === 'development' + ? '/../database/src/$1' + : '/../database/build/src/$1', }, }