overleaf/services/web/cypress/support/shared/commands/events.ts
Alf Eaton bac35566ff Add Cypress component tests for AI error assistant (#19256)
GitOrigin-RevId: 42e9e69317c97263cdcb55372e4a2cb41bccf516
2024-07-15 09:03:36 +00:00

5 lines
122 B
TypeScript

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