overleaf/services/web/cypress/support/shared/commands/events.ts
Alf Eaton 716f186fed Upgrade Cypress to v10 (#8322)
GitOrigin-RevId: 856c523a4ca34f8ccdc38067cef6fcd8a5c20250
2022-06-08 08:03:35 +00:00

5 lines
104 B
TypeScript

export const interceptEvents = () => {
cy.intercept('POST', '/event/*', {
statusCode: 204,
})
}