81cf8f2f29
Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1460 Co-authored-by: konrad <k@knt.li> Co-committed-by: konrad <k@knt.li>
10 lines
No EOL
268 B
JavaScript
10 lines
No EOL
268 B
JavaScript
|
|
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
|
|
}) |