backend: Optimize cleanup process in bulk delete recording tests by using Promise.all
This commit is contained in:
parent
cc7e86c006
commit
963db44b55
@ -18,8 +18,7 @@ describe('Recording API Tests', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
await deleteAllRooms();
|
await Promise.all([deleteAllRooms(), deleteAllRecordings()]);
|
||||||
await deleteAllRecordings();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('Bulk Delete Recording Tests', () => {
|
describe('Bulk Delete Recording Tests', () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user