listmonk/frontend/cypress/support/e2e.js
Kailash Nadh af8b420d53 Refactor and upgrade the frontend vue code to work with vite instead of webpack.
- Upgrade eslint and fix a massive number (~2500!) of linting errors from new rules.
- Upgrade babel core frontend dev dependency.
- Upgrade UI lib and other frontend deps.
- Refactor the Vue admin app to use `vite` instead of `webpack`.
- This was an extremely tedious and painstaking, trial-and-error
  alchemy job. My disdain for the Javascript "ecosystem" grows.
- Re-add custom admin appearance endpoints to the refactored Vue page.
- Remove obsolete vue-cli config.
- Re-auto-format all .vue files again to work with new linters.
2023-12-25 19:26:08 +05:30

11 lines
196 B
JavaScript

import './commands';
beforeEach(() => {
cy.intercept('GET', '/sockjs-node/**', (req) => {
req.destroy();
});
cy.intercept('GET', '/api/health', (req) => {
req.reply({});
});
});