Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@vitest/expect

Package Overview
Dependencies
Maintainers
5
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/expect - npm Package Compare versions

Comparing version
4.1.2
to
4.1.3
+2
-3
dist/index.d.ts

@@ -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