bitburner-src/cypress/support/globalHooks.ts

11 lines
187 B
TypeScript

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