mirror of
https://github.com/bitwarden/browser
synced 2026-01-27 23:03:45 +00:00
Make sure to await cleanup
This commit is contained in:
@@ -36,9 +36,9 @@ base.beforeAll(async () => {
|
||||
});
|
||||
|
||||
// restore the original fetch after all tests are done
|
||||
base.afterAll(() => {
|
||||
base.afterAll(async () => {
|
||||
global.fetch = originalFetch;
|
||||
void cleanStage();
|
||||
await cleanStage();
|
||||
});
|
||||
|
||||
async function fetchWithPlayId(
|
||||
|
||||
Reference in New Issue
Block a user