-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit a4364ec.
- Loading branch information
1 parent
bbcb506
commit 504e8d1
Showing
28 changed files
with
2,739 additions
and
5,943 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
apps/server/src/modules/account/controller/account.controller.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { Test, TestingModule } from '@nestjs/testing'; | ||
import { AccountController } from './account.controller'; | ||
import { AccountUc } from '../uc/account.uc'; | ||
|
||
describe('account.controller', () => { | ||
let module: TestingModule; | ||
let controller: AccountController; | ||
beforeAll(async () => { | ||
module = await Test.createTestingModule({ | ||
providers: [ | ||
AccountController, | ||
{ | ||
provide: AccountUc, | ||
useValue: {}, | ||
}, | ||
], | ||
}).compile(); | ||
controller = module.get(AccountController); | ||
}); | ||
|
||
it('should be defined', () => { | ||
expect(controller).toBeDefined(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.