@vitest/expect
Advanced tools
+2
-3
@@ -1,2 +0,1 @@ | ||
| import { Test } from '@vitest/runner'; | ||
| import { MockInstance } from '@vitest/spy'; | ||
@@ -160,3 +159,2 @@ import { Formatter } from 'tinyrainbow'; | ||
| poll?: boolean; | ||
| task?: Readonly<Test>; | ||
| } | ||
@@ -921,4 +919,5 @@ interface SyncExpectationResult { | ||
| declare function createAssertionMessage(util: Chai.ChaiUtils, assertion: Assertion, hasArgs: boolean): string; | ||
| declare function createAssertionMessage(util: Chai.ChaiUtils, assertion: Chai.Assertion, hasArgs: boolean): string; | ||
| declare function recordAsyncExpect(_test: any, promise: Promise<any>, assertion: string, error: Error, isSoft?: boolean): Promise<any>; | ||
| /** wrap assertion function to support `expect.soft` and provide assertion name as `_name` */ | ||
| declare function wrapAssertion(utils: Chai.ChaiUtils, name: string, fn: (this: Chai.AssertionStatic & Assertion, ...args: any[]) => void | PromiseLike<void>): (this: Chai.AssertionStatic & Assertion, ...args: any[]) => void | PromiseLike<void>; | ||
@@ -925,0 +924,0 @@ |
+4
-4
| { | ||
| "name": "@vitest/expect", | ||
| "type": "module", | ||
| "version": "4.1.2", | ||
| "version": "4.1.3", | ||
| "description": "Jest's expect matchers as a Chai plugin", | ||
@@ -42,7 +42,7 @@ "license": "MIT", | ||
| "tinyrainbow": "^3.1.0", | ||
| "@vitest/spy": "4.1.2", | ||
| "@vitest/utils": "4.1.2" | ||
| "@vitest/spy": "4.1.3", | ||
| "@vitest/utils": "4.1.3" | ||
| }, | ||
| "devDependencies": { | ||
| "@vitest/runner": "4.1.2" | ||
| "@vitest/runner": "4.1.3" | ||
| }, | ||
@@ -49,0 +49,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
106167
0.26%2846
0.04%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated