Skip to content

Commit dd9af52

Browse files
test: fix
1 parent 1ed10a2 commit dd9af52

12 files changed

Lines changed: 2032 additions & 16 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[Code of Conduct](https://github.com/openjs-foundation/code-and-learn/blob/master/CODE_OF_CONDUCT.md)
1+
[Code of Conduct](https://github.com/openjs-foundation/code-and-learn/blob/master/README.md)

test/configCases/asset-modules/http-url/dev-defaults.webpack.lock.data/https_raw.githubusercontent.com/webpack_webpack_main_README_c9ec0fd496c92f077657.md

Lines changed: 673 additions & 0 deletions
Large diffs are not rendered by default.

test/configCases/asset-modules/http-url/errors.webpack.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"http://localhost:9990/redirect": { "integrity": "sha512-BV/MK/QTq+NHRve1XpZyQ8V6cjRP/fwbtJvENRdm5C73qNYZ4i2/fw+soj7J4qxzBXMHDbvOnA6E0ShnX2hc1w==", "contentType": "text/javascript" },
88
"http://localhost:9990/redirect.js": { "resolved": "http://localhost:9990/redirect", "integrity": "sha512-BV/MK/QTq+NHRve1XpZyQ8V6cjRP/fwbtJvENRdm5C73qNYZ4i2/fw+soj7J4qxzBXMHDbvOnA6E0ShnX2hc1w==", "contentType": "text/javascript" },
99
"http://localhost:9990/resolve.js": { "integrity": "sha512-SHOULD_BE_INVALID", "contentType": "text/javascript" },
10-
"https://raw.githubusercontent.com//webpack//webpack//main/CODE_OF_CONDUCT.md": { "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
11-
"https://raw.githubusercontent.com/webpack/webpack/main/CODE_OF_CONDUCT.md": { "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
10+
"https://raw.githubusercontent.com//webpack//webpack//main/README.md": { "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
11+
"https://raw.githubusercontent.com/webpack/webpack/main/README.md": { "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
1212
"version": 1
1313
}

test/configCases/asset-modules/http-url/errors.webpack.lock.data/https_raw.githubusercontent.com/webpack_webpack_main_CODE_OF_CONDUCT_06e7b335922db99b918d.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/configCases/asset-modules/http-url/frozen-verify.webpack.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"http://localhost:9990/redirect.js": { "integrity": "sha512-BV/MK/QTq+NHRve1XpZyQ8V6cjRP/fwbtJvENRdm5C73qNYZ4i2/fw+soj7J4qxzBXMHDbvOnA6E0ShnX2hc1w==", "contentType": "text/javascript" },
1313
"http://localhost:9990/resolve.js": { "integrity": "sha512-6J9zBO2hXSMTO1EtXJOxSRB2nVPHCoNmNHS8an1QeehzJFc3uoBPRWu6hqHPc54gv2/QME9RBR/BXIan68virg==", "contentType": "text/javascript" },
1414
"http://localhost:9990/url.js": { "integrity": "sha512-Dlw99Gtp/ZRxWvGlqD2EKnvbo1i6j/slwQO4WV8RIRhYZx9ErI+rndpyDMaKykSnq20HCp5H73TJ+dtO+wDyEg==", "contentType": "text/javascript" },
15-
"https://raw.githubusercontent.com//webpack//webpack//main/CODE_OF_CONDUCT.md": { "resolved": "https://raw.githubusercontent.com/webpack/webpack/main/CODE_OF_CONDUCT.md", "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
16-
"https://raw.githubusercontent.com/webpack/webpack/main/CODE_OF_CONDUCT.md": { "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
15+
"https://raw.githubusercontent.com//webpack//webpack//main/README.md": { "resolved": "https://raw.githubusercontent.com/webpack/webpack/main/README.md", "integrity": "sha512-1B05P4O2lrOoTzaxcFcb2lT9XAM8HQZSoqH+H9HDw1zLMn0aBDcvGZIBBWWg5KhcQUi6cOPkVTkW9XuEEyzomQ==", "contentType": "text/plain; charset=utf-8" },
16+
"https://raw.githubusercontent.com/webpack/webpack/main/README.md": { "integrity": "sha512-1B05P4O2lrOoTzaxcFcb2lT9XAM8HQZSoqH+H9HDw1zLMn0aBDcvGZIBBWWg5KhcQUi6cOPkVTkW9XuEEyzomQ==", "contentType": "text/plain; charset=utf-8" },
1717
"version": 1
1818
}

test/configCases/asset-modules/http-url/frozen-verify.webpack.lock.data/https_raw.githubusercontent.com/webpack_webpack_main_CODE_OF_CONDUCT_06e7b335922db99b918d.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/configCases/asset-modules/http-url/frozen-verify.webpack.lock.data/https_raw.githubusercontent.com/webpack_webpack_main_README_c9ec0fd496c92f077657.md

Lines changed: 673 additions & 0 deletions
Large diffs are not rendered by default.

test/configCases/asset-modules/http-url/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import redirect1 from "http://localhost:9990/redirect";
77
import redirect2 from "http://localhost:9990/redirect.js";
88
import text from "http://localhost:9990/asset.txt";
99
import textUrl from "http://localhost:9990/url.js";
10-
import codeOfConduct1 from "https://raw.githubusercontent.com//webpack//webpack//main/CODE_OF_CONDUCT.md";
11-
import codeOfConduct2 from "https://raw.githubusercontent.com/webpack/webpack/main/CODE_OF_CONDUCT.md";
10+
import readme1 from "https://raw.githubusercontent.com//webpack//webpack//main/README.md";
11+
import readme2 from "https://raw.githubusercontent.com/webpack/webpack/main/README.md";
1212

1313
it("http url request should be supported", () => {
1414
expect(cssContent).toBe("a {}.webpack{}");
@@ -26,6 +26,6 @@ it("http url request should be supported", () => {
2626
});
2727

2828
it("https url request should be supported", () => {
29-
expect(codeOfConduct1.includes("CODE_OF_CONDUCT")).toBeTruthy();
30-
expect(codeOfConduct2.includes("CODE_OF_CONDUCT")).toBeTruthy();
29+
expect(readme1.includes("https://github.com/webpack/webpack")).toBeTruthy();
30+
expect(readme2.includes("https://github.com/webpack/webpack")).toBeTruthy();
3131
});

test/configCases/asset-modules/http-url/no-cache.webpack.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"http://localhost:9990/redirect.js": { "integrity": "sha512-BV/MK/QTq+NHRve1XpZyQ8V6cjRP/fwbtJvENRdm5C73qNYZ4i2/fw+soj7J4qxzBXMHDbvOnA6E0ShnX2hc1w==", "contentType": "text/javascript" },
1313
"http://localhost:9990/resolve.js": { "integrity": "sha512-6J9zBO2hXSMTO1EtXJOxSRB2nVPHCoNmNHS8an1QeehzJFc3uoBPRWu6hqHPc54gv2/QME9RBR/BXIan68virg==", "contentType": "text/javascript" },
1414
"http://localhost:9990/url.js": { "integrity": "sha512-Dlw99Gtp/ZRxWvGlqD2EKnvbo1i6j/slwQO4WV8RIRhYZx9ErI+rndpyDMaKykSnq20HCp5H73TJ+dtO+wDyEg==", "contentType": "text/javascript" },
15-
"https://raw.githubusercontent.com//webpack//webpack//main/CODE_OF_CONDUCT.md": { "resolved": "https://raw.githubusercontent.com/webpack/webpack/main/CODE_OF_CONDUCT.md", "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
16-
"https://raw.githubusercontent.com/webpack/webpack/main/CODE_OF_CONDUCT.md": { "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
15+
"https://raw.githubusercontent.com//webpack//webpack//main/README.md": { "resolved": "https://raw.githubusercontent.com/webpack/webpack/main/README.md", "integrity": "sha512-1B05P4O2lrOoTzaxcFcb2lT9XAM8HQZSoqH+H9HDw1zLMn0aBDcvGZIBBWWg5KhcQUi6cOPkVTkW9XuEEyzomQ==", "contentType": "text/plain; charset=utf-8" },
16+
"https://raw.githubusercontent.com/webpack/webpack/main/README.md": { "integrity": "sha512-1B05P4O2lrOoTzaxcFcb2lT9XAM8HQZSoqH+H9HDw1zLMn0aBDcvGZIBBWWg5KhcQUi6cOPkVTkW9XuEEyzomQ==", "contentType": "text/plain; charset=utf-8" },
1717
"version": 1
1818
}

test/configCases/asset-modules/http-url/prod-defaults.webpack.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"http://localhost:9990/redirect.js": { "integrity": "sha512-BV/MK/QTq+NHRve1XpZyQ8V6cjRP/fwbtJvENRdm5C73qNYZ4i2/fw+soj7J4qxzBXMHDbvOnA6E0ShnX2hc1w==", "contentType": "text/javascript" },
1313
"http://localhost:9990/resolve.js": { "integrity": "sha512-6J9zBO2hXSMTO1EtXJOxSRB2nVPHCoNmNHS8an1QeehzJFc3uoBPRWu6hqHPc54gv2/QME9RBR/BXIan68virg==", "contentType": "text/javascript" },
1414
"http://localhost:9990/url.js": { "integrity": "sha512-Dlw99Gtp/ZRxWvGlqD2EKnvbo1i6j/slwQO4WV8RIRhYZx9ErI+rndpyDMaKykSnq20HCp5H73TJ+dtO+wDyEg==", "contentType": "text/javascript" },
15-
"https://raw.githubusercontent.com//webpack//webpack//main/CODE_OF_CONDUCT.md": { "resolved": "https://raw.githubusercontent.com/webpack/webpack/main/CODE_OF_CONDUCT.md", "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
16-
"https://raw.githubusercontent.com/webpack/webpack/main/CODE_OF_CONDUCT.md": { "integrity": "sha512-OLJ9q6iSO652hVBkTLsMLtQnFBBTzEbFqLGyWD62nPga/0DZ9bc3oOFb5OYT8RIPzmlOX4WzK2uiLgc1NSGtBA==", "contentType": "text/plain; charset=utf-8" },
15+
"https://raw.githubusercontent.com//webpack//webpack//main/README.md": { "resolved": "https://raw.githubusercontent.com/webpack/webpack/main/README.md", "integrity": "sha512-1B05P4O2lrOoTzaxcFcb2lT9XAM8HQZSoqH+H9HDw1zLMn0aBDcvGZIBBWWg5KhcQUi6cOPkVTkW9XuEEyzomQ==", "contentType": "text/plain; charset=utf-8" },
16+
"https://raw.githubusercontent.com/webpack/webpack/main/README.md": { "integrity": "sha512-1B05P4O2lrOoTzaxcFcb2lT9XAM8HQZSoqH+H9HDw1zLMn0aBDcvGZIBBWWg5KhcQUi6cOPkVTkW9XuEEyzomQ==", "contentType": "text/plain; charset=utf-8" },
1717
"version": 1
1818
}

0 commit comments

Comments
 (0)