Skip to content

fix tests

fix tests #53

Triggered via push August 26, 2023 16:14
Status Failure
Total duration 5m 56s
Artifacts

test.yml

on: push
Matrix: integration
Fit to window
Zoom out
Zoom in

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)