Windows #72
Annotations
5 errors, 10 warnings, and 2 notices
[chromium] › hmr.test.ts:128:2 › hmr › hmr api:
test/hmr.test.ts#L132
1) [chromium] › hmr.test.ts:128:2 › hmr › hmr api ================================================
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 7
- Hello world
+ <!DOCTYPE html><html lang="en"><head><link rel="icon" href="/favicon.ico"/><!--$--><script type="module">
+ import RefreshRuntime from "/_build/@react-refresh"
+ RefreshRuntime.injectIntoGlobalHook(window)
+ window.$RefreshReg$ = () => {}
+ window.$RefreshSig$ = () => (type) => type
+ window.__vite_plugin_react_preamble_installed__ = true
+ </script><script type="module" src="/_build/@vite/client"></script><!--/$--></head><body><section><h1 data-test-id="content">Hello from Vinxi</h1><div><button data-test-id="button">Click me</button><span data-test-id="count">0</span></div></section></body></html><script>window.manifest = {}</script><script type="module" src="/_build/@fs/home/runner/work/vinxi/vinxi/test/.fixtures/hmr-nh9oom3c6p8/app/entry-client.tsx" async=""></script>
130 | expect(res.status).toBe(200);
131 | expect(res.headers.get("Content-Type")).toBe("text/html");
> 132 | expect(await res.text()).toBe("Hello world");
| ^
133 |
134 | await fixture.updateFile(
135 | "app/api/hello.ts",
at file:///home/runner/work/vinxi/vinxi/test/hmr.test.ts:132:28
|
[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/[email protected]. 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/[email protected]. 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
1 flaky
[chromium] › hmr.test.ts:128:2 › hmr › hmr api =================================================
8 passed (44s)
|
🎭 Playwright Run Summary
1 failed
[chromium] › hmr.test.ts:128:2 › hmr › hmr api =================================================
8 passed (1m)
|