fix: misc fix for vite 6 ecosystem ci #12159
Annotations
4 errors
Test:
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:
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:
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
|
Test
Process completed with exit code 1.
|
Loading