vikunja-frontend/cypress/support/e2e.ts
2022-07-04 21:50:48 +00:00

10 lines
No EOL
268 B
TypeScript

import './commands'
import '@4tw/cypress-drag-drop'
// see https://github.com/cypress-io/cypress/issues/702#issuecomment-587127275
Cypress.on('window:before:load', (win) => {
// disable service workers
// @ts-ignore
delete win.navigator.__proto__.ServiceWorker
})