add test case

This commit is contained in:
liuyi 2025-05-22 23:13:07 +08:00
parent 9ab2cd121f
commit d14eb92656

View File

@ -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();