@@ -12,33 +12,35 @@ export default function Test() {
12
12
rel : l . getAttribute ( 'rel' ) ,
13
13
sizes : l . getAttribute ( 'sizes' ) ,
14
14
} ) )
15
- ) . toEqual ( [
16
- expect . objectContaining ( {
17
- rel : 'manifest' ,
18
- href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. w e b m a n i f e s t $ / ) ,
19
- sizes : null ,
20
- } ) ,
21
- expect . objectContaining ( {
22
- rel : 'icon' ,
23
- href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. i c o $ / ) ,
24
- sizes : '48x48' ,
25
- } ) ,
26
- expect . objectContaining ( {
27
- rel : 'icon' ,
28
- href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. p n g $ / ) ,
29
- sizes : '32x32' ,
30
- } ) ,
31
- expect . objectContaining ( {
32
- rel : 'icon' ,
33
- href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. p n g $ / ) ,
34
- sizes : '64x64' ,
35
- } ) ,
36
- expect . objectContaining ( {
37
- rel : 'apple-touch-icon' ,
38
- href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. p n g $ / ) ,
39
- sizes : '114x114' ,
40
- } ) ,
41
- ] )
15
+ ) . toEqual (
16
+ expect . arrayContaining ( [
17
+ expect . objectContaining ( {
18
+ rel : 'manifest' ,
19
+ href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. w e b m a n i f e s t $ / ) ,
20
+ sizes : null ,
21
+ } ) ,
22
+ expect . objectContaining ( {
23
+ rel : 'icon' ,
24
+ href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. i c o $ / ) ,
25
+ sizes : '48x48' ,
26
+ } ) ,
27
+ expect . objectContaining ( {
28
+ rel : 'icon' ,
29
+ href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. p n g $ / ) ,
30
+ sizes : '32x32' ,
31
+ } ) ,
32
+ expect . objectContaining ( {
33
+ rel : 'icon' ,
34
+ href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. p n g $ / ) ,
35
+ sizes : '64x64' ,
36
+ } ) ,
37
+ expect . objectContaining ( {
38
+ rel : 'apple-touch-icon' ,
39
+ href : expect . stringMatching ( / ^ \/ _ n e x t \/ s t a t i c \/ .+ \. p n g $ / ) ,
40
+ sizes : '114x114' ,
41
+ } ) ,
42
+ ] )
43
+ )
42
44
} )
43
45
44
46
it ( 'should have the correct meta tags' , ( ) => {
0 commit comments