@rspack-canary/test-tools 1.6.7-canary-ceb43c53-20251208173610 → 1.6.8-canary-a3066402-20251209142350
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.
|
@@ -174,9 +174,14 @@ async function check(env, context, name, writeStatsOuptut, snapshot, stderr) {
|
|
|
174
174
|
// CHANGE: The time unit display in Rspack is second
|
|
175
175
|
.replace(/[.0-9]+(\s?s)/g, "X$1")
|
|
176
176
|
// CHANGE: Replace bundle size, since bundle sizes may differ between platforms
|
|
177
|
-
.replace(/[0-9]
|
|
178
|
-
.replace(/[0-9]+
|
|
177
|
+
.replace(/[0-9]+(\.[0-9]+)? KiB/g, "xx KiB")
|
|
178
|
+
.replace(/[0-9]+(\.[0-9]+)? bytes/g, "xx bytes")
|
|
179
|
+
.replace(/[0-9]+(\.[0-9]+)? ms/g, "xx ms");
|
|
179
180
|
}
|
|
181
|
+
actual = actual
|
|
182
|
+
.split("\n")
|
|
183
|
+
.filter(line => !line.includes("@rstest/core/dist"))
|
|
184
|
+
.join("\n");
|
|
180
185
|
const snapshotPath = node_path_1.default.isAbsolute(snapshot)
|
|
181
186
|
? snapshot
|
|
182
187
|
: node_path_1.default.resolve(context.getSource(), `./__snapshots__/${snapshot}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/test-tools",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.8-canary-a3066402-20251209142350",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Test tools for rspack",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@types/jsdom": "^21.1.7",
|
|
66
66
|
"typescript": "^5.9.3",
|
|
67
67
|
"wast-loader": "^1.14.1",
|
|
68
|
-
"@rspack/core": "npm:@rspack-canary/core@1.6.
|
|
68
|
+
"@rspack/core": "npm:@rspack-canary/core@1.6.8-canary-a3066402-20251209142350"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"@rspack/core": ">=1.0.0"
|