@@ -112,7 +112,7 @@ describe('integrations', () => {
112
112
devServer ?. kill ( ) ;
113
113
} ) ;
114
114
115
- it ( 'should not error when rendering in node api route' , async ( ) => {
115
+ it ( 'should work when rendering in node api route' , async ( ) => {
116
116
const response = await fetch ( 'http://localhost:3000/api' ) ;
117
117
118
118
if ( response . status !== 200 ) {
@@ -121,7 +121,7 @@ describe('integrations', () => {
121
121
expect ( response . status ) . toBe ( 200 ) ;
122
122
} ) ;
123
123
124
- it ( 'should not error when rendering in edge api route' , async ( ) => {
124
+ it ( 'should work when rendering in edge api route' , async ( ) => {
125
125
const response = await fetch ( 'http://localhost:3000/edge' ) ;
126
126
127
127
if ( response . status !== 200 ) {
@@ -130,7 +130,7 @@ describe('integrations', () => {
130
130
expect ( response . status ) . toBe ( 200 ) ;
131
131
} ) ;
132
132
133
- it ( 'should not error when rendering in the browser' , async ( ) => {
133
+ it ( 'should work when rendering in the browser' , async ( ) => {
134
134
await page . goto ( 'http://localhost:3000' ) ;
135
135
136
136
await expect ( ( ) =>
@@ -160,7 +160,7 @@ describe('integrations', () => {
160
160
server ?. kill ( ) ;
161
161
} ) ;
162
162
163
- it ( 'should not error when rendering in node api route' , async ( ) => {
163
+ it ( 'should work when rendering in node api route' , async ( ) => {
164
164
const response = await fetch ( 'http://localhost:3001/api' ) ;
165
165
166
166
if ( response . status !== 200 ) {
@@ -169,7 +169,7 @@ describe('integrations', () => {
169
169
expect ( response . status ) . toBe ( 200 ) ;
170
170
} ) ;
171
171
172
- it ( 'should not error when rendering in edge api route' , async ( ) => {
172
+ it ( 'should work when rendering in edge api route' , async ( ) => {
173
173
const response = await fetch ( 'http://localhost:3001/edge' ) ;
174
174
175
175
if ( response . status !== 200 ) {
@@ -178,7 +178,7 @@ describe('integrations', () => {
178
178
expect ( response . status ) . toBe ( 200 ) ;
179
179
} ) ;
180
180
181
- it ( 'should not error when rendering in the browser' , async ( ) => {
181
+ it ( 'should work when rendering in the browser' , async ( ) => {
182
182
await page . goto ( 'http://localhost:3001' ) ;
183
183
184
184
await expect ( ( ) =>
@@ -201,7 +201,7 @@ describe('integrations', () => {
201
201
} , 30_000 ) ;
202
202
203
203
// The code being run after build has been modified by Vite and might run differently
204
- it ( 'should not error when rendering in vite preview' , async ( ) => {
204
+ it ( 'should work when rendering in vite preview' , async ( ) => {
205
205
$ ( 'npm run build' , viteLocation ) ;
206
206
const previewServer = await startWebServer (
207
207
'npm run preview' ,
@@ -222,7 +222,7 @@ describe('integrations', () => {
222
222
previewServer . kill ( ) ;
223
223
} ) ;
224
224
225
- it ( 'should not error when rendering in vite dev' , async ( ) => {
225
+ it ( 'should work when rendering in vite dev' , async ( ) => {
226
226
const devServer = await startWebServer (
227
227
'npm run dev' ,
228
228
'http://localhost:5173' ,
0 commit comments