Skip to content

Commit cbef88e

Browse files
committed
use better wording
1 parent 24ecd79 commit cbef88e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/render/integrations/integrations.spec.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ describe('integrations', () => {
112112
devServer?.kill();
113113
});
114114

115-
it('should not error when rendering in node api route', async () => {
115+
it('should work when rendering in node api route', async () => {
116116
const response = await fetch('http://localhost:3000/api');
117117

118118
if (response.status !== 200) {
@@ -121,7 +121,7 @@ describe('integrations', () => {
121121
expect(response.status).toBe(200);
122122
});
123123

124-
it('should not error when rendering in edge api route', async () => {
124+
it('should work when rendering in edge api route', async () => {
125125
const response = await fetch('http://localhost:3000/edge');
126126

127127
if (response.status !== 200) {
@@ -130,7 +130,7 @@ describe('integrations', () => {
130130
expect(response.status).toBe(200);
131131
});
132132

133-
it('should not error when rendering in the browser', async () => {
133+
it('should work when rendering in the browser', async () => {
134134
await page.goto('http://localhost:3000');
135135

136136
await expect(() =>
@@ -160,7 +160,7 @@ describe('integrations', () => {
160160
server?.kill();
161161
});
162162

163-
it('should not error when rendering in node api route', async () => {
163+
it('should work when rendering in node api route', async () => {
164164
const response = await fetch('http://localhost:3001/api');
165165

166166
if (response.status !== 200) {
@@ -169,7 +169,7 @@ describe('integrations', () => {
169169
expect(response.status).toBe(200);
170170
});
171171

172-
it('should not error when rendering in edge api route', async () => {
172+
it('should work when rendering in edge api route', async () => {
173173
const response = await fetch('http://localhost:3001/edge');
174174

175175
if (response.status !== 200) {
@@ -178,7 +178,7 @@ describe('integrations', () => {
178178
expect(response.status).toBe(200);
179179
});
180180

181-
it('should not error when rendering in the browser', async () => {
181+
it('should work when rendering in the browser', async () => {
182182
await page.goto('http://localhost:3001');
183183

184184
await expect(() =>
@@ -201,7 +201,7 @@ describe('integrations', () => {
201201
}, 30_000);
202202

203203
// 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 () => {
205205
$('npm run build', viteLocation);
206206
const previewServer = await startWebServer(
207207
'npm run preview',
@@ -222,7 +222,7 @@ describe('integrations', () => {
222222
previewServer.kill();
223223
});
224224

225-
it('should not error when rendering in vite dev', async () => {
225+
it('should work when rendering in vite dev', async () => {
226226
const devServer = await startWebServer(
227227
'npm run dev',
228228
'http://localhost:5173',

0 commit comments

Comments
 (0)