@rspack-canary/test-tools 1.5.9-canary-e259bc79-20251014173821 → 1.6.0-canary-17d2172b-20251016033144
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/helper/setup-env.js +3 -2
- package/package.json +4 -4
package/dist/helper/setup-env.js
CHANGED
|
@@ -58,7 +58,8 @@ if (process.env.DEBUG_INFO) {
|
|
|
58
58
|
}, timeout);
|
|
59
59
|
}
|
|
60
60
|
else {
|
|
61
|
-
it(name,
|
|
61
|
+
it(name, () => new Promise((resolve, reject) => {
|
|
62
|
+
const done = err => (err ? reject(err) : resolve());
|
|
62
63
|
process.stdout.write(`START2 ${name}\n`);
|
|
63
64
|
return fn(err => {
|
|
64
65
|
if (err) {
|
|
@@ -69,7 +70,7 @@ if (process.env.DEBUG_INFO) {
|
|
|
69
70
|
}
|
|
70
71
|
return done(err);
|
|
71
72
|
});
|
|
72
|
-
}, timeout);
|
|
73
|
+
}), timeout);
|
|
73
74
|
}
|
|
74
75
|
};
|
|
75
76
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/test-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0-canary-17d2172b-20251016033144",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Test tools for rspack",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
"wast-loader": "^1.14.1",
|
|
104
104
|
"worker-rspack-loader": "^3.1.2",
|
|
105
105
|
"exports-loader": "^5.0.0",
|
|
106
|
-
"@rspack/
|
|
106
|
+
"@rspack/core": "npm:@rspack-canary/core@1.6.0-canary-17d2172b-20251016033144",
|
|
107
|
+
"@rspack/cli": "npm:@rspack-canary/cli@1.6.0-canary-17d2172b-20251016033144",
|
|
107
108
|
"@rspack/binding-testing": "1.4.1",
|
|
108
|
-
"@rspack/
|
|
109
|
-
"@rspack/test-tools": "npm:@rspack-canary/test-tools@1.5.9-canary-e259bc79-20251014173821"
|
|
109
|
+
"@rspack/test-tools": "npm:@rspack-canary/test-tools@1.6.0-canary-17d2172b-20251016033144"
|
|
110
110
|
},
|
|
111
111
|
"peerDependencies": {
|
|
112
112
|
"@rspack/core": ">=1.0.0"
|