fix: misc fix for vite 6 ecosystem ci #12160
Triggered via pull request
November 11, 2024 01:40
Status
Failure
Total duration
10m 50s
Artifacts
–
ci.yml
on: pull_request
Diff: node-latest, ubuntu-latest
12s
Lint: node-latest, ubuntu-latest
2m 25s
Matrix: test-browser
Matrix: test
Annotations
20 errors
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 /Users/runner/work/vit…' to contain '✓ template string'
- Expected
+ Received
- ✓ template string
+
+ RUN v2.1.4 /Users/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:46:40
+ Duration 1.54s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms, typecheck 1.53s)
+
+
❯ test/runner.test.ts:127:27
|
Build&Test: node-20, macos-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:47:56
+ Duration 2.55s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms, typecheck 2.54s)
+
+
❯ test/runner.test.ts:127:27
|
Build&Test: node-20, ubuntu-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:48:38
+ Duration 2.46s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms, typecheck 2.45s)
+
+
❯ test/runner.test.ts:127:27
|
Build&Test: node-22, ubuntu-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:48:51
+ Duration 2.72s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms, typecheck 2.71s)
+
+
❯ test/runner.test.ts:127:27
|
Build&Test: node-18, ubuntu-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 D:/a/vitest/vitest/tes…' to contain '✓ template string'
- Expected
+ Received
- ✓ template string
+
+ RUN v2.1.4 D:/a/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:51:15
+ Duration 3.03s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms, typecheck 3.01s)
+
+
❯ test/runner.test.ts:127:27
|
Build&Test: node-20, windows-latest
Process completed with exit code 1.
|