Skip to content

Commit 275d0f0

Browse files
committed
fix some snapshots
1 parent 5e6f67c commit 275d0f0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

integration-tests/fixtures/generate-bundle-stats/rollup/__snapshots__/rollup-plugin.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ exports[`Generating rollup stats 4 {"format":"amd","expected":"amd"} matches the
776776
{
777777
"gzipSize": 98808,
778778
"name": "main-H2_1FSsQ.js",
779-
"normalized": "main-H2_1FSsQ.js",
779+
"normalized": "main-*.js",
780780
"size": 577073,
781781
},
782782
],

integration-tests/fixtures/generate-bundle-stats/vite/__snapshots__/vite-plugin.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ exports[`Generating vite stats v5 {"format":"cjs","expected":"cjs"} matches the
10071007
{
10081008
"gzipSize": 26812,
10091009
"name": "assets/index-_9bu_Rar.js",
1010-
"normalized": "assets/index-_9bu_Rar.js",
1010+
"normalized": "assets/index-*.js",
10111011
"size": 72342,
10121012
},
10131013
],

integration-tests/fixtures/generate-bundle-stats/webpack/__snapshots__/webpack-plugin.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ exports[`Generating webpack stats 5 {"format":"commonjs","expected":"cjs"} match
150150
}
151151
`;
152152
153-
exports[`Generating webpack stats 5 source maps are enabled does not include any source maps 1`] = `
153+
exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches the snapshot 1`] = `
154154
{
155155
"assets": [
156156
{
@@ -161,7 +161,7 @@ exports[`Generating webpack stats 5 source maps are enabled does not include any
161161
},
162162
],
163163
"builtAt": Any<Number>,
164-
"bundleName": StringNotContaining ".map",
164+
"bundleName": StringContaining "test-webpack-v5-esm",
165165
"bundler": {
166166
"name": "webpack",
167167
"version": "5.90.0",
@@ -225,7 +225,7 @@ exports[`Generating webpack stats 5 source maps are enabled does not include any
225225
}
226226
`;
227227
228-
exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches the snapshot 1`] = `
228+
exports[`Generating webpack stats 5 source maps are enabled does not include any source maps 1`] = `
229229
{
230230
"assets": [
231231
{
@@ -236,7 +236,7 @@ exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches
236236
},
237237
],
238238
"builtAt": Any<Number>,
239-
"bundleName": StringContaining "test-webpack-v5-esm",
239+
"bundleName": StringNotContaining ".map",
240240
"bundler": {
241241
"name": "webpack",
242242
"version": "5.90.0",

0 commit comments

Comments
 (0)