summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support/application/application.session.actions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/cypress/support/application/application.session.actions.ts')
-rw-r--r--vid-webpack-master/cypress/support/application/application.session.actions.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/vid-webpack-master/cypress/support/application/application.session.actions.ts b/vid-webpack-master/cypress/support/application/application.session.actions.ts
index 9126ae1a4..99d5d867a 100644
--- a/vid-webpack-master/cypress/support/application/application.session.actions.ts
+++ b/vid-webpack-master/cypress/support/application/application.session.actions.ts
@@ -25,8 +25,8 @@ function getReduxState(): Chainable<any> {
});
}
-function clearSessionStorage() : void {
- cy.window().then((win) => {
+function clearSessionStorage() : Cypress.Chainable<any> {
+ return cy.window().then((win) => {
win.sessionStorage.clear();
});
}