Skip to content

Commit b575c6f

Browse files
committed
fix: 테스트 환경에서는 main workspace 세팅을 막는다.
1 parent 3dc687a commit b575c6f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/backend/src/workspace/workspace.service.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ export class WorkspaceService {
2727
private readonly userRepository: UserRepository,
2828
private readonly roleRepository: RoleRepository,
2929
) {
30-
this.initializeMainWorkspace();
30+
console.log('환경 : ', process.env.NODE_ENV);
31+
// if (process.env.NODE_ENV !== 'test') {
32+
// this.initializeMainWorkspace();
33+
// }
3134
}
3235

3336
async createWorkspace(

0 commit comments

Comments
 (0)