fix tests #53
Annotations
4 errors, 10 warnings, and 2 notices
[chromium] โบ hmr.test.ts:128:2 โบ hmr โบ hmr api:
test\hmr.test.ts#L158
1) [chromium] โบ hmr.test.ts:128:2 โบ hmr โบ hmr api ================================================
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
156 |
157 | res = await fixture.requestDocument("/api/new");
> 158 | expect(res.status).toBe(200);
| ^
159 | expect(res.headers.get("Content-Type")).toBe("text/html");
160 | expect(await res.text()).toBe("Hello new");
161 |
at file:///D:/a/vinxi/vinxi/test/hmr.test.ts:158:22
|
[chromium] โบ hmr.test.ts:128:2 โบ hmr โบ hmr api:
test\hmr.test.ts#L158
1) [chromium] โบ hmr.test.ts:128:2 โบ hmr โบ hmr api ================================================
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
156 |
157 | res = await fixture.requestDocument("/api/new");
> 158 | expect(res.status).toBe(200);
| ^
159 | expect(res.headers.get("Content-Type")).toBe("text/html");
160 | expect(await res.text()).toBe("Hello new");
161 |
at file:///D:/a/vinxi/vinxi/test/hmr.test.ts:158:22
|
[chromium] โบ hmr.test.ts:128:2 โบ hmr โบ hmr api:
test\hmr.test.ts#L158
1) [chromium] โบ hmr.test.ts:128:2 โบ hmr โบ hmr api ================================================
Retry #2 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
156 |
157 | res = await fixture.requestDocument("/api/new");
> 158 | expect(res.status).toBe(200);
| ^
159 | expect(res.headers.get("Content-Type")).toBe("text/html");
160 | expect(await res.text()).toBe("Hello new");
161 |
at file:///D:/a/vinxi/vinxi/test/hmr.test.ts:158: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 (27s)
|
๐ญ Playwright Run Summary
1 failed
[chromium] โบ hmr.test.ts:128:2 โบ hmr โบ hmr api =================================================
8 passed (1m)
|