We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f312f1 commit 8c35268Copy full SHA for 8c35268
cypress/integration/default/api.spec.ts
@@ -0,0 +1,12 @@
1
+describe('Extended API routes', () => {
2
+ it('returns HTTP 202 Accepted for background route', () => {
3
+ cy.request('/api/hello-background').then((response) => {
4
+ expect(response.status).to.be('202')
5
+ })
6
7
+ it('returns 404 for scheduled route', () => {
8
+ cy.request('/api/hello-scheduled').then((response) => {
9
+ expect(response.status).to.be('404')
10
11
12
+})
0 commit comments