Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristiano Belloni committed Jun 23, 2022
1 parent 8cb5acf commit 81b318c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ exports[`When working with a nested app can generate a hashed main js chunk in t
self.webpackChunk_scoped_sample_app || []).push([
[179],
{
235: (e, t, a) => {
754: (e, t, a) => {
var r = a(735),
l = a(788);
const n = a.p + \\"static/media/logo.103b5fa18196d5665a7e12318285c916.svg\\";
Expand Down Expand Up @@ -190,13 +190,13 @@ exports[`When working with a nested app can generate a hashed main js chunk in t
},
(e) => {
e.O(0, [788], () => {
return (t = 235), e((e.s = t));
return (t = 754), e((e.s = t));
var t;
});
e.O();
},
]);
//# sourceMappingURL=main.99649537.js.map
//# sourceMappingURL=main.502b419b.js.map
"
`;

Expand Down Expand Up @@ -8684,21 +8684,21 @@ exports[`when working with an app can generate a asset-manifest 1`] = `
"{
\\"files\\": {
\\"main.css\\": \\"/static/css/main.1a7488ce.css\\",
\\"main.js\\": \\"/static/js/main.6146e428.js\\",
\\"main.js\\": \\"/static/js/main.abe6afa1.js\\",
\\"runtime-main.js\\": \\"/static/js/runtime-main.e92969dd.js\\",
\\"static/js/316.394ef80b.js\\": \\"/static/js/316.394ef80b.js\\",
\\"static/media/logo.svg\\": \\"/static/media/logo.103b5fa18196d5665a7e12318285c916.svg\\",
\\"index.html\\": \\"/index.html\\",
\\"main.1a7488ce.css.map\\": \\"/static/css/main.1a7488ce.css.map\\",
\\"main.6146e428.js.map\\": \\"/static/js/main.6146e428.js.map\\",
\\"main.abe6afa1.js.map\\": \\"/static/js/main.abe6afa1.js.map\\",
\\"runtime-main.e92969dd.js.map\\": \\"/static/js/runtime-main.e92969dd.js.map\\",
\\"316.394ef80b.js.map\\": \\"/static/js/316.394ef80b.js.map\\"
},
\\"entrypoints\\": [
\\"static/js/runtime-main.e92969dd.js\\",
\\"static/js/316.394ef80b.js\\",
\\"static/css/main.1a7488ce.css\\",
\\"static/js/main.6146e428.js\\"
\\"static/js/main.abe6afa1.js\\"
]
}"
`;
Expand All @@ -8708,7 +8708,7 @@ exports[`when working with an app can generate a hashed main js chunk in the js
(self.webpackChunksample_app = self.webpackChunksample_app || []).push([
[179],
{
217: (e, t, a) => {
354: (e, t, a) => {
var r = a(784),
l = a(316);
const n = a.p + \\"static/media/logo.103b5fa18196d5665a7e12318285c916.svg\\";
Expand Down Expand Up @@ -8757,13 +8757,13 @@ exports[`when working with an app can generate a hashed main js chunk in the js
},
(e) => {
e.O(0, [316], () => {
return (t = 217), e((e.s = t));
return (t = 354), e((e.s = t));
var t;
});
e.O();
},
]);
//# sourceMappingURL=main.6146e428.js.map
//# sourceMappingURL=main.abe6afa1.js.map
"
`;

Expand Down Expand Up @@ -17187,7 +17187,7 @@ exports[`when working with an app can generate a index.html 1`] = `
})();
</script>
<script defer=\\"defer\\" src=\\"/static/js/316.394ef80b.js\\"></script>
<script defer=\\"defer\\" src=\\"/static/js/main.6146e428.js\\"></script>
<script defer=\\"defer\\" src=\\"/static/js/main.abe6afa1.js\\"></script>
<link href=\\"/static/css/main.1a7488ce.css\\" rel=\\"stylesheet\\" />
</head>
<body>
Expand Down
16 changes: 8 additions & 8 deletions packages/modular-scripts/src/__tests__/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,12 @@ describe('When working with a nested app', () => {
'scoped-sample-app',
'static',
'js',
'main.99649537.js',
'main.502b419b.js',
),
),
),
{
filepath: 'main.99649537.js',
filepath: 'main.502b419b.js',
},
),
).toMatchSnapshot();
Expand Down Expand Up @@ -347,9 +347,9 @@ describe('when working with an app', () => {
expect(tree(path.join(modularRoot, 'dist', 'sample-app')))
.toMatchInlineSnapshot(`
"sample-app
├─ asset-manifest.json #lp70k5
├─ asset-manifest.json #620pei
├─ favicon.ico #6pu3rg
├─ index.html #afmhhb
├─ index.html #1vp7lky
├─ logo192.png #1nez7vk
├─ logo512.png #1hwqvcc
├─ manifest.json #19gah8o
Expand All @@ -363,8 +363,8 @@ describe('when working with an app', () => {
│ ├─ 316.394ef80b.js #1mv4xg9
│ ├─ 316.394ef80b.js.LICENSE.txt #eplx8h
│ ├─ 316.394ef80b.js.map #b33pzn
│ ├─ main.6146e428.js #1d7hazv
│ ├─ main.6146e428.js.map #hkmqfm
│ ├─ main.abe6afa1.js #t9np46
│ ├─ main.abe6afa1.js.map #nchh6d
│ ├─ runtime-main.e92969dd.js #1is98ey
│ └─ runtime-main.e92969dd.js.map #19haxsp
└─ media
Expand Down Expand Up @@ -434,12 +434,12 @@ describe('when working with an app', () => {
'sample-app',
'static',
'js',
'main.6146e428.js',
'main.abe6afa1.js',
),
),
),
{
filepath: 'main.6146e428.js',
filepath: 'main.abe6afa1.js',
},
),
).toMatchSnapshot();
Expand Down

0 comments on commit 81b318c

Please sign in to comment.