bitburner-src/test/cypress/support/globalHooks.ts
2022-01-26 05:35:21 -05:00

11 lines
187 B
TypeScript

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