bitburner-src/test/cypress/support/globalHooks.ts

11 lines
188 B
TypeScript
Raw Normal View History

export {};
beforeEach(() => {
cy.visit("/", {
onBeforeLoad(win: Cypress.AUTWindow) {
win.indexedDB.deleteDatabase("bitburnerSave");
2022-04-07 01:30:08 +02:00
},
});
cy.clearLocalStorage();
});