mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
test: module names
This commit is contained in:
parent
cd7fa0d8b5
commit
907d966828
@ -1,7 +1,10 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: 'ts-jest',
|
preset: 'ts-jest',
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
|
moduleDirectories: ['node_modules', '.'],
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
'@types': '<rootDir>/types',
|
'@types': '<rootDir>/types',
|
||||||
|
'^@utils/(.*)$': '<rootDir>/utils/$1',
|
||||||
|
'^@components/(.*)$': '<rootDir>/components/$1'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user