Skip to content

Commit bf43e47

Browse files
authored
fix: update snapshots (#9)
1 parent 5ca7ae4 commit bf43e47

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

copy-plugin/__snapshots__/CopyPlugin.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ transform aaaa",
6161
exports[`CopyPlugin stats should minify: assets 1`] = `
6262
Object {
6363
"asset-modules/deepnested.txt": "",
64-
"unoptimized.js": "let a=1;console.log(1);",
64+
"unoptimized.js": "const a=1;console.log(1);",
6565
}
6666
`;
6767

css-extract/__snapshots__/HMR.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ exports[`HMR should reloads with non http/https link href 2`] = `"<link rel=\\"s
3030
3131
exports[`HMR should reloads with non-file script in the end of page 1`] = `"[HMR] Reload all CSS"`;
3232
33-
exports[`HMR should reloads with non-file script in the end of page 2`] = `"<link rel=\\"stylesheet\\" href=\\"/dist/main.css\\"><link rel=\\"stylesheet\\" href=\\"http://localhost/dist/main.css?1479427200000\\">"`;
33+
exports[`HMR should reloads with non-file script in the end of page 2`] = `"<link rel=\\"stylesheet\\" href=\\"/dist/main.css\\"><link rel=\\"stylesheet\\" href=\\"/dist/main.css?1479427200000\\">"`;
3434
3535
exports[`HMR should work reload all css 1`] = `"[HMR] Reload all CSS"`;
3636
37-
exports[`HMR should work reload all css 2`] = `"<link rel=\\"stylesheet\\" href=\\"/dist/main.css\\"><link rel=\\"stylesheet\\" href=\\"http://localhost/dist/main.css?1479427200000\\">"`;
37+
exports[`HMR should work reload all css 2`] = `"<link rel=\\"stylesheet\\" href=\\"/dist/main.css\\"><link rel=\\"stylesheet\\" href=\\"/dist/main.css?1479427200000\\">"`;
3838
3939
exports[`HMR should works 1`] = `"[HMR] CSS reload %s"`;
4040

0 commit comments

Comments
 (0)