diff --git a/content/blog/typeorm-0.3/index.md b/content/blog/typeorm-0.3/index.md index 8d2a8ea..385003a 100644 --- a/content/blog/typeorm-0.3/index.md +++ b/content/blog/typeorm-0.3/index.md @@ -46,8 +46,8 @@ describe('UserService', () => { providers: [UserService, UserRepository], }).compile(); - sut = module.get(UserService); - userRepository = module.get(UserRepository); + sut = module.get(UserService); + userRepository = module.get(UserRepository); }); // ... 생략 @@ -84,9 +84,9 @@ describe('UserService', () => { providers: [UserService, UserRepository], }).compile(); - sut = module.get(UserService); - dataSource = module.get(DataSource); /* 추가된 코드 */ - userRepository = module.get(UserRepository); + sut = module.get(UserService); + dataSource = module.get(DataSource); /* 추가된 코드 */ + userRepository = module.get(UserRepository); }); // ... 생략