feat: prepare the Vitest API to be stable #12456
Triggered via pull request
November 26, 2024 14:19
Status
Failure
Total duration
13m 17s
Artifacts
–
ci.yml
on: pull_request
Diff: node-latest, ubuntu-latest
12s
Lint: node-latest, ubuntu-latest
2m 38s
Matrix: test-browser
Matrix: test
Annotations
10 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
@@ -1,6 +1,7 @@
- "TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'.
+ "TypeCheckError: Property 'closingPromise' does not exist on type 'Vitest'.
+ 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 '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.
❯ test/runner.test.ts:31:17
|
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
@@ -1,6 +1,7 @@
- "TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'.
+ "TypeCheckError: Property 'closingPromise' does not exist on type 'Vitest'.
+ 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 '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.
❯ test/runner.test.ts:31:17
|
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
@@ -1,6 +1,7 @@
- "TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'.
+ "TypeCheckError: Property 'closingPromise' does not exist on type 'Vitest'.
+ 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 '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.
❯ test/runner.test.ts:31:17
|
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
@@ -1,6 +1,7 @@
- "TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'.
+ "TypeCheckError: Property 'closingPromise' does not exist on type 'Vitest'.
+ 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 '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.
❯ test/runner.test.ts:31:17
|
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
@@ -1,6 +1,7 @@
- "TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'.
+ "TypeCheckError: Property 'closingPromise' does not exist on type 'Vitest'.
+ 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 '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.
❯ test/runner.test.ts:31:17
|
Build&Test: node-20, windows-latest
Process completed with exit code 1.
|