overleaf/services/web/cypress/support/shared/events.ts

6 lines
114 B
TypeScript
Raw Normal View History

Cypress.Commands.add('interceptEvents', () => {
cy.intercept('POST', '/event/*', {
statusCode: 204,
})
})