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 () => {
|
||||
await deleteAllRooms();
|
||||
await deleteAllRecordings();
|
||||
await Promise.all([deleteAllRooms(), deleteAllRecordings()]);
|
||||
});
|
||||
|
||||
describe('Bulk Delete Recording Tests', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user