Skip to content

Commit 940444c

Browse files
committed
πŸ› fix: ν™˜κ²½λ³€μˆ˜ μ—λŸ¬ λ°œλ™ λ²”μœ„ μˆ˜μ •
1 parent 2de31f1 commit 940444c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

β€Žserver/src/app.module.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const chosen =
3333
? envMap[process.env.NODE_ENV as keyof typeof envMap]
3434
: undefined;
3535

36-
if (process.env.NODE_ENV !== 'PROD') {
36+
if (process.env.NODE_ENV !== 'PROD' && process.env.NODE_ENV !== 'TEST') {
3737
if (!chosen) {
3838
throw new Error(`Unknown NODE_ENV: ${process.env.NODE_ENV}`);
3939
}

0 commit comments

Comments
Β (0)