@@ -26,37 +26,37 @@ describe('interpolateName()', () => {
26
26
'/app/js/javascript.js' ,
27
27
'js/[hash].script.[ext]' ,
28
28
'test content' ,
29
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js' ,
29
+ 'js/a69899814931280e2f527219ad6ac754 .script.js' ,
30
30
] ,
31
31
[
32
32
'/app/js/javascript.js' ,
33
33
'js/[contenthash].script.[ext]' ,
34
34
'test content' ,
35
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js' ,
35
+ 'js/a69899814931280e2f527219ad6ac754 .script.js' ,
36
36
] ,
37
37
[
38
38
'/app/page.html' ,
39
39
'html-[hash:6].html' ,
40
40
'test content' ,
41
- 'html-9473fd .html' ,
41
+ 'html-a69899 .html' ,
42
42
] ,
43
43
[
44
44
'/app/page.html' ,
45
45
'html-[contenthash:6].html' ,
46
46
'test content' ,
47
- 'html-9473fd .html' ,
47
+ 'html-a69899 .html' ,
48
48
] ,
49
49
[
50
50
'/app/flash.txt' ,
51
51
'[hash]' ,
52
52
'test content' ,
53
- '9473fdd0d880a43c21b7778d34872157 ' ,
53
+ 'a69899814931280e2f527219ad6ac754 ' ,
54
54
] ,
55
55
[
56
56
'/app/flash.txt' ,
57
57
'[contenthash]' ,
58
58
'test content' ,
59
- '9473fdd0d880a43c21b7778d34872157 ' ,
59
+ 'a69899814931280e2f527219ad6ac754 ' ,
60
60
] ,
61
61
[
62
62
'/app/img/image.png' ,
@@ -74,13 +74,13 @@ describe('interpolateName()', () => {
74
74
'/app/dir/file.png' ,
75
75
'[path][name].[ext]?[hash]' ,
76
76
'test content' ,
77
- '/app/dir/file.png?9473fdd0d880a43c21b7778d34872157 ' ,
77
+ '/app/dir/file.png?a69899814931280e2f527219ad6ac754 ' ,
78
78
] ,
79
79
[
80
80
'/app/dir/file.png' ,
81
81
'[path][name].[ext]?[contenthash]' ,
82
82
'test content' ,
83
- '/app/dir/file.png?9473fdd0d880a43c21b7778d34872157 ' ,
83
+ '/app/dir/file.png?a69899814931280e2f527219ad6ac754 ' ,
84
84
] ,
85
85
[
86
86
'/vendor/test/images/loading.gif' ,
@@ -135,37 +135,37 @@ describe('interpolateName()', () => {
135
135
'/app/js/javascript.js?foo=bar' ,
136
136
'js/[hash].script.[ext][query]' ,
137
137
'test content' ,
138
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js?foo=bar' ,
138
+ 'js/a69899814931280e2f527219ad6ac754 .script.js?foo=bar' ,
139
139
] ,
140
140
[
141
141
'/app/js/javascript.js?foo=bar&bar=baz' ,
142
142
'js/[hash].script.[ext][query]' ,
143
143
'test content' ,
144
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js?foo=bar&bar=baz' ,
144
+ 'js/a69899814931280e2f527219ad6ac754 .script.js?foo=bar&bar=baz' ,
145
145
] ,
146
146
[
147
147
'/app/js/javascript.js?foo' ,
148
148
'js/[hash].script.[ext][query]' ,
149
149
'test content' ,
150
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js?foo' ,
150
+ 'js/a69899814931280e2f527219ad6ac754 .script.js?foo' ,
151
151
] ,
152
152
[
153
153
'/app/js/javascript.js?' ,
154
154
'js/[hash].script.[ext][query]' ,
155
155
'test content' ,
156
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js' ,
156
+ 'js/a69899814931280e2f527219ad6ac754 .script.js' ,
157
157
] ,
158
158
[
159
159
'/app/js/javascript.js?a' ,
160
160
'js/[hash].script.[ext][query]' ,
161
161
'test content' ,
162
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js?a' ,
162
+ 'js/a69899814931280e2f527219ad6ac754 .script.js?a' ,
163
163
] ,
164
164
[
165
165
'/app/js/javascript.js?foo=bar#hash' ,
166
166
'js/[hash].script.[ext][query]' ,
167
167
'test content' ,
168
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js?foo=bar' ,
168
+ 'js/a69899814931280e2f527219ad6ac754 .script.js?foo=bar' ,
169
169
] ,
170
170
[
171
171
'/app/js/javascript.js?foo=bar#hash' ,
@@ -176,7 +176,7 @@ describe('interpolateName()', () => {
176
176
return 'js/[hash].script.[ext][query]' ;
177
177
} ,
178
178
'test content' ,
179
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js?foo=bar' ,
179
+ 'js/a69899814931280e2f527219ad6ac754 .script.js?foo=bar' ,
180
180
] ,
181
181
[
182
182
'/app/js/javascript.js?a' ,
@@ -187,7 +187,7 @@ describe('interpolateName()', () => {
187
187
return 'js/[hash].script.[ext][query]' ;
188
188
} ,
189
189
'test content' ,
190
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js?a' ,
190
+ 'js/a69899814931280e2f527219ad6ac754 .script.js?a' ,
191
191
] ,
192
192
[
193
193
'/app/js/javascript.js' ,
@@ -198,7 +198,7 @@ describe('interpolateName()', () => {
198
198
return 'js/[hash].script.[ext][query]' ;
199
199
} ,
200
200
'test content' ,
201
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js' ,
201
+ 'js/a69899814931280e2f527219ad6ac754 .script.js' ,
202
202
] ,
203
203
[
204
204
'/app/js/javascript.js?' ,
@@ -209,7 +209,7 @@ describe('interpolateName()', () => {
209
209
return 'js/[hash].script.[ext][query]' ;
210
210
} ,
211
211
'test content' ,
212
- 'js/9473fdd0d880a43c21b7778d34872157 .script.js' ,
212
+ 'js/a69899814931280e2f527219ad6ac754 .script.js' ,
213
213
] ,
214
214
] . forEach ( ( test ) => {
215
215
it ( 'should interpolate ' + test [ 0 ] + ' ' + test [ 1 ] , ( ) => {
@@ -260,12 +260,12 @@ describe('interpolateName()', () => {
260
260
run ( [
261
261
[
262
262
[ { } , '' , { content : 'test string' } ] ,
263
- '6f8db599de986fab7a21625b7916589c .bin' ,
263
+ '2e06edd4f1623268c5a51730d8a0b2af .bin' ,
264
264
'should interpolate default tokens' ,
265
265
] ,
266
266
[
267
267
[ { } , '[hash:base64]' , { content : 'test string' } ] ,
268
- '2sm1pVmS8xuGJLCdWpJoRL ' ,
268
+ '2LIG3oc1uBNmwOoL7kXgoK ' ,
269
269
'should interpolate [hash] token with options' ,
270
270
] ,
271
271
[
0 commit comments