File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/@vue/cli-service/__tests__ Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ test('build', async () => {
30
30
// expect(index).toMatch(/<link [^>]+app[^>]+\.css rel=preload as=style crossorigin>/)
31
31
32
32
// should apply crossorigin and add integrity to scripts and css
33
- expect ( index ) . toMatch ( / < s c r i p t s r c = \/ j s \/ c h u n k - v e n d o r s \. \w { 8 } \. j s c r o s s o r i g i n i n t e g r i t y = s h a 3 8 4 - .{ 64 } > / )
34
- expect ( index ) . toMatch ( / < s c r i p t s r c = \/ j s \/ a p p \. \w { 8 } \. j s c r o s s o r i g i n i n t e g r i t y = s h a 3 8 4 - .{ 64 } > / )
35
- expect ( index ) . toMatch ( / < l i n k h r e f = \/ c s s \/ a p p \. \w { 8 } \. c s s r e l = s t y l e s h e e t c r o s s o r i g i n i n t e g r i t y = s h a 3 8 4 - .{ 64 } > / )
33
+ expect ( index ) . toMatch ( / < s c r i p t s r c = \/ j s \/ c h u n k - v e n d o r s \. \w { 8 } \. j s c r o s s o r i g i n i n t e g r i t y = s h a 3 8 4 - .{ 64 } \s ? > / )
34
+ expect ( index ) . toMatch ( / < s c r i p t s r c = \/ j s \/ a p p \. \w { 8 } \. j s c r o s s o r i g i n i n t e g r i t y = s h a 3 8 4 - .{ 64 } \s ? > / )
35
+ expect ( index ) . toMatch ( / < l i n k h r e f = \/ c s s \/ a p p \. \w { 8 } \. c s s r e l = s t y l e s h e e t c r o s s o r i g i n i n t e g r i t y = s h a 3 8 4 - .{ 64 } \s ? > / )
36
36
37
37
// verify integrity is correct by actually running it
38
38
const port = await portfinder . getPortPromise ( )
You can’t perform that action at this time.
0 commit comments