Socket
Socket
Sign inDemoInstall

@vitest/runner

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/runner - npm Package Compare versions

Comparing version 1.0.0-beta.5 to 1.0.0-beta.6

10

dist/index.js

@@ -437,4 +437,8 @@ import limit from 'p-limit';

};
taskFn.skipIf = (condition) => condition ? test.skip : test;
taskFn.runIf = (condition) => condition ? test : test.skip;
taskFn.skipIf = function(condition) {
return condition ? this.skip : this;
};
taskFn.runIf = function(condition) {
return condition ? this : this.skip;
};
taskFn.extend = function(fixtures) {

@@ -800,3 +804,3 @@ const _context = mergeContextFixtures(fixtures, context);

if (suite.mode === "run") {
if (!hasTests(suite)) {
if (!runner.config.passWithNoTests && !hasTests(suite)) {
suite.result.state = "fail";

@@ -803,0 +807,0 @@ if (!((_c = suite.result.errors) == null ? void 0 : _c.length)) {

{
"name": "@vitest/runner",
"type": "module",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"description": "Vitest test runner",

@@ -43,3 +43,3 @@ "license": "MIT",

"pathe": "^1.1.1",
"@vitest/utils": "1.0.0-beta.5"
"@vitest/utils": "1.0.0-beta.6"
},

@@ -46,0 +46,0 @@ "scripts": {

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