2020-06-02 18:25:28 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
|
|
exports[`ConfigCacheTestCases custom-modules json-custom exported tests should transform toml to json 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"owner": Object {
|
|
|
|
|
"bio": "GitHub Cofounder & CEO
|
|
|
|
|
Likes tater tots and beer.",
|
|
|
|
|
"dob": "1979-05-27T07:32:00.000Z",
|
|
|
|
|
"name": "Tom Preston-Werner",
|
|
|
|
|
"organization": "GitHub",
|
|
|
|
|
},
|
|
|
|
|
"title": "TOML Example",
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`ConfigCacheTestCases records issue-2991 exported tests should write relative paths to records 1`] = `
|
|
|
|
|
"{
|
|
|
|
|
\\"chunks\\": {
|
|
|
|
|
\\"byName\\": {
|
|
|
|
|
\\"main\\": 179
|
|
|
|
|
},
|
|
|
|
|
\\"bySource\\": {
|
|
|
|
|
\\"0 main\\": 179
|
|
|
|
|
},
|
|
|
|
|
\\"usedIds\\": [
|
|
|
|
|
179
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
\\"modules\\": {
|
|
|
|
|
\\"byIdentifier\\": {
|
|
|
|
|
\\"./test.js\\": 393,
|
2021-09-02 23:23:02 +08:00
|
|
|
\\"external node-commonjs \\\\\\"fs\\\\\\"\\": 147,
|
|
|
|
|
\\"external node-commonjs \\\\\\"path\\\\\\"\\": 17,
|
2021-08-19 20:01:44 +08:00
|
|
|
\\"ignored|./.|pkgs/somepackage/foo\\": 802
|
2020-06-02 18:25:28 +08:00
|
|
|
},
|
|
|
|
|
\\"usedIds\\": [
|
2021-09-02 23:23:02 +08:00
|
|
|
17,
|
|
|
|
|
147,
|
2020-06-02 18:25:28 +08:00
|
|
|
393,
|
2021-08-19 20:01:44 +08:00
|
|
|
802
|
2020-06-02 18:25:28 +08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}"
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`ConfigCacheTestCases records issue-7339 exported tests should write relative dynamic-require paths to records 1`] = `
|
|
|
|
|
"{
|
|
|
|
|
\\"chunks\\": {
|
|
|
|
|
\\"byName\\": {
|
|
|
|
|
\\"main\\": 179
|
|
|
|
|
},
|
|
|
|
|
\\"bySource\\": {
|
|
|
|
|
\\"0 main\\": 179
|
|
|
|
|
},
|
|
|
|
|
\\"usedIds\\": [
|
|
|
|
|
179
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
\\"modules\\": {
|
|
|
|
|
\\"byIdentifier\\": {
|
|
|
|
|
\\"./dependencies/bar.js\\": 379,
|
|
|
|
|
\\"./dependencies/foo.js\\": 117,
|
|
|
|
|
\\"./dependencies|sync|/^\\\\\\\\.\\\\\\\\/.*$/\\": 412,
|
|
|
|
|
\\"./test.js\\": 393,
|
2021-09-02 23:23:02 +08:00
|
|
|
\\"external node-commonjs \\\\\\"fs\\\\\\"\\": 147,
|
|
|
|
|
\\"external node-commonjs \\\\\\"path\\\\\\"\\": 17
|
2020-06-02 18:25:28 +08:00
|
|
|
},
|
|
|
|
|
\\"usedIds\\": [
|
2021-09-02 23:23:02 +08:00
|
|
|
17,
|
2020-06-02 18:25:28 +08:00
|
|
|
117,
|
2021-09-02 23:23:02 +08:00
|
|
|
147,
|
2020-06-02 18:25:28 +08:00
|
|
|
379,
|
|
|
|
|
393,
|
2021-09-02 23:23:02 +08:00
|
|
|
412
|
2020-06-02 18:25:28 +08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}"
|
|
|
|
|
`;
|