1
0
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:
Matt Gibson
2026-01-26 17:06:47 -08:00
parent 85728c36b6
commit be5e830ea3

View File

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