Skip to content

Commit 8ccf810

Browse files
committed
chore: update testCase snapshot
1 parent 94e94ad commit 8ccf810

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed

packages/rspack-test-tools/tests/__snapshots__/Config.test.js.snap

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -502,14 +502,6 @@ export { a };
502502
`;
503503
504504
exports[`config config/library/modern-module-force-concaten step should pass: asset as entry should not be concatenated 1`] = `
505-
var __webpack_modules__ = ({
506-
"273": (function (module, __unused_webpack_exports, __webpack_require__) {
507-
module.exports = __webpack_require__.p + "fc90103f80b6abc6.png";
508-
509-
}),
510-
511-
});
512-
/************************************************************************/
513505
// The module cache
514506
var __webpack_module_cache__ = {};
515507
@@ -540,10 +532,10 @@ __webpack_require__.p = "";
540532
541533
})();
542534
/************************************************************************/
543-
// startup
544-
// Load entry module and return exports
545-
// This entry module doesn't tell about it's top-level declarations so it can't be inlined
546-
var __webpack_exports__ = __webpack_require__("273");
535+
536+
;// CONCATENATED MODULE: ./h/file.png
537+
const file_namespaceObject = __webpack_require__.p + "fc90103f80b6abc6.png";
538+
export { file_namespaceObject as default };
547539
`;
548540
549541
exports[`config config/library/modern-module-force-concaten step should pass: external module should bail out when bundling 1`] = `

packages/rspack-test-tools/tests/__snapshots__/StatsOutput.test.js.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ chunk {909} (runtime: main) bundle.js (main) 7 bytes (asset) 159 bytes (javascri
1616
| [no exports used]
1717
| ModuleConcatenation bailout: Module is an entry point
1818
| ./raw.png [193] 42 bytes (javascript) 7 bytes (asset) {909} [depth 1] [built] [code generated]
19-
| [no exports]
19+
| [exports: default]
2020
| [no exports used]
2121
| esm import ./raw.png ./index.js
2222
./raw.png [193] 42 bytes (javascript) 7 bytes (asset) {909} [depth 1] [built] [code generated]
23-
[no exports]
23+
[exports: default]
2424
[no exports used]
2525
esm import ./raw.png ./index.js
2626
modules by path ./ 235 bytes (javascript) 7 bytes (asset)
@@ -44,11 +44,11 @@ modules by path ./ 235 bytes (javascript) 7 bytes (asset)
4444
| [no exports used]
4545
| ModuleConcatenation bailout: Module is an entry point
4646
| ./raw.png [193] 42 bytes (javascript) 7 bytes (asset) {909} [depth 1] [built] [code generated]
47-
| [no exports]
47+
| [exports: default]
4848
| [no exports used]
4949
| esm import ./raw.png ./index.js
5050
./raw.png [193] 42 bytes (javascript) 7 bytes (asset) {909} [depth 1] [built] [code generated]
51-
[no exports]
51+
[exports: default]
5252
[no exports used]
5353
esm import ./raw.png ./index.js
5454
runtime modules 1.61 KiB
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
exports.noTests = true;
1+
exports.noTest = true;

0 commit comments

Comments
 (0)