mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 05:11:34 +02:00
11 lines
253 B
TypeScript
11 lines
253 B
TypeScript
export const interceptLinkedFile = () => {
|
|
cy.intercept(
|
|
{ method: 'POST', url: '/project/*/linked_file' },
|
|
cy
|
|
.spy(req => {
|
|
req.reply({ statusCode: 200, body: { success: true } })
|
|
})
|
|
.as('linked-file-request')
|
|
)
|
|
}
|