add api tests in build and basic dev #44
Annotations
4 errors, 10 warnings, and 2 notices
[chromium] โบ hmr.test.ts:129:2 โบ rendering โบ hmr api:
test\hmr.test.ts#L159
1) [chromium] โบ hmr.test.ts:129:2 โบ rendering โบ hmr api ==========================================
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
157 |
158 | res = await fixture.requestDocument("/api/new");
> 159 | expect(res.status).toBe(200);
| ^
160 | expect(res.headers.get("Content-Type")).toBe("text/html");
161 | expect(await res.text()).toBe("Hello new");
162 |
at file:///D:/a/vinxi/vinxi/test/hmr.test.ts:159:22
|
[chromium] โบ hmr.test.ts:129:2 โบ rendering โบ hmr api:
test\hmr.test.ts#L159
1) [chromium] โบ hmr.test.ts:129:2 โบ rendering โบ hmr api ==========================================
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
157 |
158 | res = await fixture.requestDocument("/api/new");
> 159 | expect(res.status).toBe(200);
| ^
160 | expect(res.headers.get("Content-Type")).toBe("text/html");
161 | expect(await res.text()).toBe("Hello new");
162 |
at file:///D:/a/vinxi/vinxi/test/hmr.test.ts:159:22
|
[chromium] โบ hmr.test.ts:129:2 โบ rendering โบ hmr api:
test\hmr.test.ts#L159
1) [chromium] โบ hmr.test.ts:129:2 โบ rendering โบ hmr api ==========================================
Retry #2 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
157 |
158 | res = await fixture.requestDocument("/api/new");
> 159 | expect(res.status).toBe(200);
| ^
160 | expect(res.headers.get("Content-Type")).toBe("text/html");
161 | expect(await res.text()).toBe("Hello new");
162 |
at file:///D:/a/vinxi/vinxi/test/hmr.test.ts:159:22
|
๐ (os: windows-latest, node: 18)
Process completed with exit code 1.
|
๐ (os: ubuntu-latest, node: 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pnpm/action-setup@v2.2.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
๐ (os: ubuntu-latest, node: 18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
๐ (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
๐ (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
๐ (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
๐ (os: windows-latest, node: 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pnpm/action-setup@v2.2.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
๐ (os: windows-latest, node: 18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
๐ (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
๐ (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
๐ (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
๐ญ Playwright Run Summary
9 passed (26s)
|
๐ญ Playwright Run Summary
1 failed
[chromium] โบ hmr.test.ts:129:2 โบ rendering โบ hmr api ===========================================
8 passed (48s)
|