Skip to content

Commit 75cda48

Browse files
committed
chore: add repro test
1 parent 38c71a6 commit 75cda48

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cypress/e2e/default/api.cy.ts

+8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ describe('API routes', () => {
66
})
77
})
88

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+
917
describe('Extended API routes', () => {
1018
it('returns HTTP 202 Accepted for background route', () => {
1119
cy.request('/api/hello-background').then((response) => {

0 commit comments

Comments
 (0)