@vitest/runner 4.1.6 → 4.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-artifact.js +2 -1
- package/package.json +2 -2
package/dist/chunk-artifact.js
CHANGED
|
@@ -3144,7 +3144,8 @@ async function runSuite(suite, runner) {
|
|
|
3144
3144
|
} else {
|
|
3145
3145
|
for (let tasksGroup of partitionSuiteChildren(suite)) {
|
|
3146
3146
|
if (tasksGroup[0].concurrent === true) {
|
|
3147
|
-
|
|
3147
|
+
const groupLimiter = limitConcurrency(runner.config.maxConcurrency);
|
|
3148
|
+
await Promise.all(tasksGroup.map((c) => groupLimiter(() => runSuiteChild(c, runner))));
|
|
3148
3149
|
} else {
|
|
3149
3150
|
const { sequence } = runner.config;
|
|
3150
3151
|
if (suite.shuffle) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/runner",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.8",
|
|
5
5
|
"description": "Vitest test runner",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"pathe": "^2.0.3",
|
|
47
|
-
"@vitest/utils": "4.1.
|
|
47
|
+
"@vitest/utils": "4.1.8"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "premove dist && rollup -c",
|