bitburner-src/test/cypress/support/globalHooks.ts
Olivier Gagnon 48f80f25d6 fmt and lint
2022-04-06 19:30:08 -04:00

11 lines
188 B
TypeScript

export {};
beforeEach(() => {
cy.visit("/", {
onBeforeLoad(win: Cypress.AUTWindow) {
win.indexedDB.deleteDatabase("bitburnerSave");
},
});
cy.clearLocalStorage();
});