fix backend unit tests: migrate delete({}) to deleteAll()
This commit is contained in:
parent
4e7b2be730
commit
542b99244a
7 changed files with 14 additions and 14 deletions
|
|
@ -84,7 +84,7 @@ describe('Chart', () => {
|
|||
];
|
||||
|
||||
for (const entity of entities) {
|
||||
await db.getRepository(entity).delete({});
|
||||
await db.getRepository(entity).deleteAll();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue