@@ -40,8 +40,8 @@ exports[`Works with test-loader: result 1`] = `
40
40
" cacheable" : " function" ,
41
41
" callback" : " function" ,
42
42
" clearDependencies" : " function" ,
43
- " context" : " <cwd >/test/basic-loader-test" ,
44
- " currentRequest" : " <cwd >/test/basic-loader-test/test-loader.js??ruleSet[1].rules[0].use[1]!<cwd >/test/basic-loader-test/file.js?q=1#hash" ,
43
+ " context" : " <PROJECT_ROOT >/test/basic-loader-test" ,
44
+ " currentRequest" : " <PROJECT_ROOT >/test/basic-loader-test/test-loader.js??ruleSet[1].rules[0].use[1]!<PROJECT_ROOT >/test/basic-loader-test/file.js?q=1#hash" ,
45
45
" data" : null ,
46
46
" dependency" : " function" ,
47
47
" emitError" : " function" ,
@@ -58,13 +58,13 @@ exports[`Works with test-loader: result 1`] = `
58
58
},
59
59
" getContextDependencies" : " function" ,
60
60
" getContextDependenciesResult" : [
61
- " <cwd >/test/basic-loader-test/directory" ,
61
+ " <PROJECT_ROOT >/test/basic-loader-test/directory" ,
62
62
],
63
63
" getDependencies" : " function" ,
64
64
" getDependenciesResult" : [
65
- " <cwd >/test/basic-loader-test/file.js" ,
66
- " <cwd >/test/basic-loader-test/dep1.js" ,
67
- " <cwd >/test/basic-loader-test/dep.js" ,
65
+ " <PROJECT_ROOT >/test/basic-loader-test/file.js" ,
66
+ " <PROJECT_ROOT >/test/basic-loader-test/dep1.js" ,
67
+ " <PROJECT_ROOT >/test/basic-loader-test/dep.js" ,
68
68
],
69
69
" getLogger" : " function" ,
70
70
" getMissingDependencies" : " function" ,
@@ -97,10 +97,10 @@ module.exports = new URL('./style.less', import.meta.url);
97
97
" options" : {
98
98
" test" : {},
99
99
},
100
- " path" : " <cwd >/test/basic-loader-test/test-loader.js" ,
100
+ " path" : " <PROJECT_ROOT >/test/basic-loader-test/test-loader.js" ,
101
101
" pitchExecuted" : true ,
102
102
" query" : " ??ruleSet[1].rules[0].use[1]" ,
103
- " request" : " <cwd >/test/basic-loader-test/test-loader.js??ruleSet[1].rules[0].use[1]" ,
103
+ " request" : " <PROJECT_ROOT >/test/basic-loader-test/test-loader.js??ruleSet[1].rules[0].use[1]" ,
104
104
},
105
105
],
106
106
" mode" : " none" ,
@@ -111,14 +111,14 @@ module.exports = new URL('./style.less', import.meta.url);
111
111
" query" : {
112
112
" test" : {},
113
113
},
114
- " remainingRequest" : " <cwd >/test/basic-loader-test/file.js?q=1#hash" ,
115
- " request" : " <cwd >/test/basic-loader-test/test-loader.js??ruleSet[1].rules[0].use[1]!<cwd >/test/basic-loader-test/file.js?q=1#hash" ,
114
+ " remainingRequest" : " <PROJECT_ROOT >/test/basic-loader-test/file.js?q=1#hash" ,
115
+ " request" : " <PROJECT_ROOT >/test/basic-loader-test/test-loader.js??ruleSet[1].rules[0].use[1]!<PROJECT_ROOT >/test/basic-loader-test/file.js?q=1#hash" ,
116
116
" resolve" : " function" ,
117
- " resource" : " <cwd >/test/basic-loader-test/file.js?q=1#hash" ,
117
+ " resource" : " <PROJECT_ROOT >/test/basic-loader-test/file.js?q=1#hash" ,
118
118
" resourceFragment" : " #hash" ,
119
- " resourcePath" : " <cwd >/test/basic-loader-test/file.js" ,
119
+ " resourcePath" : " <PROJECT_ROOT >/test/basic-loader-test/file.js" ,
120
120
" resourceQuery" : " ?q=1" ,
121
- " rootContext" : " <cwd >/test/basic-loader-test" ,
121
+ " rootContext" : " <PROJECT_ROOT >/test/basic-loader-test" ,
122
122
" sourceMap" : false ,
123
123
" target" : " web" ,
124
124
" utils" : {
0 commit comments