fix(e2e): add scoped Cypress typings for .cy.ts
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/// <reference types="cypress" />
|
||||
|
||||
describe("/activity feed", () => {
|
||||
const apiBase = "**/api/v1";
|
||||
|
||||
@@ -50,7 +52,7 @@ describe("/activity feed", () => {
|
||||
stubStreamEmpty();
|
||||
|
||||
cy.visit("/activity", {
|
||||
onBeforeLoad(win) {
|
||||
onBeforeLoad(win: Window) {
|
||||
win.localStorage.clear();
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user