Socket
Socket
Sign inDemoInstall

@vitest/spy

Package Overview
Dependencies
Maintainers
3
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/spy - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

dist/index.d.ts

@@ -147,3 +147,3 @@ interface MockResultReturn<T> {

* const increment = vi.fn().mockImplementation(count => count + 1);
* expect(fincrementn(3)).toBe(4);
* expect(increment(3)).toBe(4);
*/

@@ -150,0 +150,0 @@ mockImplementation(fn: ((...args: TArgs) => TReturns) | (() => Promise<TReturns>)): this;

{
"name": "@vitest/spy",
"type": "module",
"version": "1.0.2",
"version": "1.0.3",
"description": "Lightweight Jest compatible spy implementation",

@@ -6,0 +6,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc