We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38c71a6 commit 75cda48Copy full SHA for 75cda48
cypress/e2e/default/api.cy.ts
@@ -6,6 +6,14 @@ describe('API routes', () => {
6
})
7
8
9
+describe('Dynamic API routes', () => {
10
+ it('are bundled correctly', () => {
11
+ cy.request('/api/shows/1').then((response) => {
12
+ expect(response.status).to.equal(200)
13
+ })
14
15
+})
16
+
17
describe('Extended API routes', () => {
18
it('returns HTTP 202 Accepted for background route', () => {
19
cy.request('/api/hello-background').then((response) => {
0 commit comments