pnpm lockfile #63
Annotations
10 errors, 5 warnings, and 1 notice
test/basic-dev.test.ts#L68
1) [chromium] › basic-dev.test.ts:66:2 › basic dev › api =========================================
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
66 | test("api", async () => {
67 | let res = await fixture.requestDocument("/api/hello");
> 68 | expect(res.status).toBe(200);
| ^
69 | expect(res.headers.get("Content-Type")).toBe("text/html");
70 | expect(await res.text()).toBe("Hello world");
71 | });
at file:///home/runner/work/vinxi/vinxi/test/basic-dev.test.ts:68:22
|
test/basic-dev.test.ts#L68
1) [chromium] › basic-dev.test.ts:66:2 › basic dev › api =========================================
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
66 | test("api", async () => {
67 | let res = await fixture.requestDocument("/api/hello");
> 68 | expect(res.status).toBe(200);
| ^
69 | expect(res.headers.get("Content-Type")).toBe("text/html");
70 | expect(await res.text()).toBe("Hello world");
71 | });
at file:///home/runner/work/vinxi/vinxi/test/basic-dev.test.ts:68:22
|
test/basic-dev.test.ts#L68
1) [chromium] › basic-dev.test.ts:66:2 › basic dev › api =========================================
Retry #2 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
66 | test("api", async () => {
67 | let res = await fixture.requestDocument("/api/hello");
> 68 | expect(res.status).toBe(200);
| ^
69 | expect(res.headers.get("Content-Type")).toBe("text/html");
70 | expect(await res.text()).toBe("Hello world");
71 | });
at file:///home/runner/work/vinxi/vinxi/test/basic-dev.test.ts:68:22
|
test/basic-prod.test.ts#L64
2) [chromium] › basic-prod.test.ts:62:2 › basic build › api ======================================
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
62 | test("api", async () => {
63 | let res = await fixture.requestDocument("/api/hello");
> 64 | expect(res.status).toBe(200);
| ^
65 | expect(res.headers.get("Content-Type")).toBe("text/html");
66 | expect(await res.text()).toBe("Hello world");
67 | });
at file:///home/runner/work/vinxi/vinxi/test/basic-prod.test.ts:64:22
|
test/basic-prod.test.ts#L64
2) [chromium] › basic-prod.test.ts:62:2 › basic build › api ======================================
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
62 | test("api", async () => {
63 | let res = await fixture.requestDocument("/api/hello");
> 64 | expect(res.status).toBe(200);
| ^
65 | expect(res.headers.get("Content-Type")).toBe("text/html");
66 | expect(await res.text()).toBe("Hello world");
67 | });
at file:///home/runner/work/vinxi/vinxi/test/basic-prod.test.ts:64:22
|
test/basic-prod.test.ts#L64
2) [chromium] › basic-prod.test.ts:62:2 › basic build › api ======================================
Retry #2 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
62 | test("api", async () => {
63 | let res = await fixture.requestDocument("/api/hello");
> 64 | expect(res.status).toBe(200);
| ^
65 | expect(res.headers.get("Content-Type")).toBe("text/html");
66 | expect(await res.text()).toBe("Hello world");
67 | });
at file:///home/runner/work/vinxi/vinxi/test/basic-prod.test.ts:64:22
|
test/hmr.test.ts#L132
3) [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-dkl4907gu4g/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
|
test/hmr.test.ts#L130
3) [chromium] › hmr.test.ts:128:2 › hmr › hmr api ================================================
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
128 | test("hmr api", async () => {
129 | let res = await fixture.requestDocument("/api/hello");
> 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 |
at file:///home/runner/work/vinxi/vinxi/test/hmr.test.ts:130:22
|
test/hmr.test.ts#L130
3) [chromium] › hmr.test.ts:128:2 › hmr › hmr api ================================================
Retry #2 ---------------------------------------------------------------------------------------
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 404
128 | test("hmr api", async () => {
129 | let res = await fixture.requestDocument("/api/hello");
> 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 |
at file:///home/runner/work/vinxi/vinxi/test/hmr.test.ts:130:22
|
|
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/
|
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/
|
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/
|
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/
|
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/
|
3 failed
[chromium] › basic-dev.test.ts:66:2 › basic dev › api ==========================================
[chromium] › basic-prod.test.ts:62:2 › basic build › api =======================================
[chromium] › hmr.test.ts:128:2 › hmr › hmr api =================================================
6 passed (1m)
|
The logs for this run have expired and are no longer available.
Loading