@vitest/runner
Advanced tools
Comparing version 0.32.0 to 0.32.1
@@ -114,10 +114,4 @@ import limit from 'p-limit'; | ||
options = { timeout: options }; | ||
if (typeof suiteOptions === "object") { | ||
options = { | ||
repeats: suiteOptions.repeats, | ||
retry: suiteOptions.retry, | ||
timeout: suiteOptions.timeout, | ||
...options | ||
}; | ||
} | ||
if (typeof suiteOptions === "object") | ||
options = Object.assign({}, suiteOptions, options); | ||
const test3 = { | ||
@@ -273,3 +267,3 @@ id: "", | ||
function formatName(name) { | ||
return typeof name === "string" ? name : name instanceof Function ? name.name : String(name); | ||
return typeof name === "string" ? name : name instanceof Function ? name.name || "<anonymous>" : String(name); | ||
} | ||
@@ -276,0 +270,0 @@ function formatTitle(template, items, idx) { |
@@ -114,10 +114,4 @@ import limit from 'p-limit'; | ||
options = { timeout: options }; | ||
if (typeof suiteOptions === "object") { | ||
options = { | ||
repeats: suiteOptions.repeats, | ||
retry: suiteOptions.retry, | ||
timeout: suiteOptions.timeout, | ||
...options | ||
}; | ||
} | ||
if (typeof suiteOptions === "object") | ||
options = Object.assign({}, suiteOptions, options); | ||
const test3 = { | ||
@@ -273,3 +267,3 @@ id: "", | ||
function formatName(name) { | ||
return typeof name === "string" ? name : name instanceof Function ? name.name : String(name); | ||
return typeof name === "string" ? name : name instanceof Function ? name.name || "<anonymous>" : String(name); | ||
} | ||
@@ -276,0 +270,0 @@ function formatTitle(template, items, idx) { |
{ | ||
"name": "@vitest/runner", | ||
"type": "module", | ||
"version": "0.32.0", | ||
"version": "0.32.1", | ||
"description": "Vitest test runner", | ||
@@ -44,3 +44,3 @@ "license": "MIT", | ||
"pathe": "^1.1.0", | ||
"@vitest/utils": "0.32.0" | ||
"@vitest/utils": "0.32.1" | ||
}, | ||
@@ -47,0 +47,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68979
1855
+ Added@vitest/utils@0.32.1(transitive)
+ Addeddiff-sequences@29.6.3(transitive)
- Removed@vitest/utils@0.32.0(transitive)
Updated@vitest/utils@0.32.1