Skip to content

Commit 76673d7

Browse files
committed
chore: error 절대경로 추가
1 parent 390001c commit 76673d7

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

server/jest.config.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ module.exports = {
22
preset: 'ts-jest', // to use typescript
33
verbose: true,
44
moduleNameMapper: {
5-
"@apis/(.*)": "<rootDir>/apis/$1",
6-
"@config": "<rootDir>/config",
7-
"@constants/(.*)": "<rootDir>/constants/$1",
8-
"@db": "<rootDir>/db",
9-
"@middlewares/(.*)": "<rootDir>/middlewares/$1",
10-
"@utils/(.*)": "<rootDir>/utils/$1"
11-
}
12-
}
5+
'@apis/(.*)': '<rootDir>/apis/$1',
6+
'@config': '<rootDir>/config',
7+
'@constants/(.*)': '<rootDir>/constants/$1',
8+
'@db': '<rootDir>/db',
9+
'@middlewares/(.*)': '<rootDir>/middlewares/$1',
10+
'@utils/(.*)': '<rootDir>/utils/$1',
11+
'@errors/(.*)': '<rootDir>/errors/$1',
12+
},
13+
};

0 commit comments

Comments
 (0)