fix: misc fix for vite 6 ecosystem ci #12159
ci.yml
on: pull_request
Diff: node-latest, ubuntu-latest
10s
Lint: node-latest, ubuntu-latest
2m 27s
Matrix: test-browser
Matrix: test
Annotations
11 errors
Build&Test: node-20, macos-latest
Process completed with exit code 1.
|
Build&Test: node-20, ubuntu-latest
Process completed with exit code 1.
|
Build&Test: node-18, ubuntu-latest
Process completed with exit code 1.
|
Build&Test: node-20, windows-latest
Process completed with exit code 1.
|
specs/server-url.test.ts > server-url http:
test/browser/specs/server-url.test.ts#L12
AssertionError: expected 'Error: listen EACCES: permission deni…' to be '' // Object.is equality
- Expected
+ Received
+ Error: listen EACCES: permission denied ::1:51133
+ at Server.setupListenHandle [as _listen2] (node:net:1882:21)
+ at listenInCluster (node:net:1961:12)
+ at GetAddrInfoReqWrap.doListen (node:net:2135:7)
+ at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:8)
+ at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17)
❯ specs/server-url.test.ts:12:18
|
specs/server-url.test.ts > server-url https:
test/browser/specs/server-url.test.ts#L21
AssertionError: expected 'Error: listen EACCES: permission deni…' to be '' // Object.is equality
- Expected
+ Received
+ Error: listen EACCES: permission denied ::1:51122
+ at Http2SecureServer.setupListenHandle [as _listen2] (node:net:1882:21)
+ at listenInCluster (node:net:1961:12)
+ at GetAddrInfoReqWrap.doListen (node:net:2135:7)
+ at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:8)
+ at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17)
❯ specs/server-url.test.ts:21:18
|
Browser: chromium, windows-latest
Process completed with exit code 1.
|
test/runner.test.ts > should fail > typecheck files:
test/typescript/test/runner.test.ts#L31
Error: Snapshot `should fail > typecheck files 1` mismatched
- Expected
+ Received
"TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'.
TypeCheckError: This expression is not callable. Type 'ExpectArray<number>' has no call signatures.
+ TypeCheckError: This expression is not callable. Type 'ExpectVoid<number>' has no call signatures.
TypeCheckError: This expression is not callable. Type 'ExpectUndefined<number>' has no call signatures.
TypeCheckError: This expression is not callable. Type 'ExpectVoid<number>' has no call signatures.
TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'.
- TypeCheckError: Unused '@ts-expect-error' directive.
- TypeCheckError: This expression is not callable. Type 'ExpectVoid<number>' has no call signatures."
+ TypeCheckError: Unused '@ts-expect-error' directive."
❯ test/runner.test.ts:31:17
|
test/runner.test.ts > should fail > typecheks with custom tsconfig:
test/typescript/test/runner.test.ts#L63
Error: Snapshot `should fail > typecheks with custom tsconfig 1` mismatched
- Expected
+ Received
- "TypeCheckError: This expression is not callable. Type 'ExpectUndefined<number>' has no call signatures.
+ "TypeCheckError: This expression is not callable. Type 'ExpectVoid<number>' has no call signatures.
- TypeCheckError: This expression is not callable. Type 'ExpectVoid<number>' has no call signatures.
+ TypeCheckError: This expression is not callable. Type 'ExpectUndefined<number>' has no call signatures.
- TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'.
- TypeCheckError: This expression is not callable. Type 'ExpectVoid<number>' has no call signatures."
+ TypeCheckError: This expression is not callable. Type 'ExpectVoid<number>' has no call signatures.
+ TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'."
❯ test/runner.test.ts:63:17
|
test/runner.test.ts > when the title is dynamic > works correctly:
test/typescript/test/runner.test.ts#L127
AssertionError: expected '\n RUN v2.1.4 /home/runner/work/vite…' to contain '✓ template string'
- Expected
+ Received
- ✓ template string
+
+ RUN v2.1.4 /home/runner/work/vitest/vitest/test/typescript/fixtures/dynamic-title
+
+ · TS test/dynamic-title.test-d.ts (3)
+ · each: %s
+ · for: %s
+ · dynamic skip
+ ✓ TS test/dynamic-title.test-d.ts (3)
+ ✓ each: %s
+ ✓ for: %s
+ ✓ dynamic skip
+
+ Test Files 1 passed (1)
+ Tests 3 passed (3)
+ Type Errors no errors
+ Start at 01:32:18
+ Duration 2.44s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms, typecheck 2.42s)
+
+
❯ test/runner.test.ts:127:27
|
Build&Test: node-22, ubuntu-latest
Process completed with exit code 1.
|