add test case
This commit is contained in:
parent
9ab2cd121f
commit
d14eb92656
@ -27,7 +27,7 @@ describe('category test', () => {
|
||||
controller = module.get<CategoryController>(CategoryController);
|
||||
repository = module.get<CategoryRepository>(CategoryRepository);
|
||||
datasource = module.get<DataSource>(DataSource);
|
||||
repository.clear();
|
||||
await repository.clear();
|
||||
});
|
||||
it('check datasource', () => {
|
||||
expect(datasource).toBeDefined();
|
||||
|
Loading…
Reference in New Issue
Block a user