mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
try to adjust jest config
This commit is contained in:
parent
2a48133790
commit
6f6ba3a2e9
@ -9,10 +9,13 @@ module.exports = async () => {
|
|||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
'@entity/(.*)': '<rootDir>/../database/build/entity/$1',
|
'@entity/(.*)': '<rootDir>/../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
|
// This is hack to fix a problem with the library `ts-mysql-migrate` which does differentiate between its ts/js state
|
||||||
|
'@dbTools/(.*)': '<rootDir>/../database/src/$1',
|
||||||
|
/*
|
||||||
'@dbTools/(.*)':
|
'@dbTools/(.*)':
|
||||||
process.env.NODE_ENV === 'development'
|
process.env.NODE_ENV === 'development'
|
||||||
? '<rootDir>/../database/src/$1'
|
? '<rootDir>/../database/src/$1'
|
||||||
: '<rootDir>/../database/build/src/$1',
|
: '<rootDir>/../database/build/src/$1',
|
||||||
|
*/
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user