Skip to content

Commit 346c3f1

Browse files
committed
chore: run tests on node 17.x in CI
1 parent 422c16a commit 346c3f1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/__snapshots__/loader.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ exports[`loader should work with "html-webpack-plugin" plugin: result 1`] = `
9393
<script defer src=\\"http://example.com/main.js\\"></script></head>
9494
<body>
9595
<div>Text</div>
96-
<img src=\\"http://example.com/5b1f36bc41ab31f5b801.png\\" alt=\\"image\\">
96+
<img src=\\"http://example.com/7bc91c245a8a10a4.png\\" alt=\\"image\\">
9797
</body>
9898
</html>"
9999
`;

test/helpers/getCompiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default (fixture, loaderOptions = {}, config = {}) => {
1717
publicPath: "/webpack/public/path/",
1818
library: "___TEST___",
1919
assetModuleFilename: "[name][ext]",
20-
hashFunction: "md5",
20+
hashFunction: "xxhash64",
2121
},
2222
module: {
2323
rules: [

test/loader.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ describe("loader", () => {
195195
{
196196
output: {
197197
publicPath: "http://example.com",
198-
hashFunction: "md5",
198+
hashFunction: "xxhash64",
199199
},
200200
module: {
201201
rules: [

0 commit comments

Comments
 (0)