@@ -33,6 +33,7 @@ describe("GH001: No Default Alt Text", () => {
33
33
"" ,
34
34
"" ,
35
35
"" ,
36
+ "" ,
36
37
"" ,
37
38
"" ,
38
39
] ;
@@ -44,7 +45,7 @@ describe("GH001: No Default Alt Text", () => {
44
45
. flat ( )
45
46
. filter ( ( name ) => ! name . includes ( "GH" ) ) ;
46
47
47
- expect ( failedRules ) . toHaveLength ( 6 ) ;
48
+ expect ( failedRules ) . toHaveLength ( 7 ) ;
48
49
for ( const rule of failedRules ) {
49
50
expect ( rule ) . toBe ( "no-default-alt-text" ) ;
50
51
}
@@ -56,6 +57,7 @@ describe("GH001: No Default Alt Text", () => {
56
57
'<img alt="ScreenShot 2022-06-26 at 7 41 30 PM" src="https://user-images.githubusercontent.com/abcdef.png">' ,
57
58
'<img alt="Screen shot 2022-06-26 at 7 41 30 PM" src="https://user-images.githubusercontent.com/abcdef.png">' ,
58
59
'<img alt="Screenshot 2022-06-26 at 7 41 30 PM" src="https://user-images.githubusercontent.com/abcdef.png">' ,
60
+ '<img alt="Clean Shot 2022-06-26 at 7 41 30 PM" src="https://user-images.githubusercontent.com/abcdef.png">' ,
59
61
'<img alt="Image" src="https://user-images.githubusercontent.com/abcdef.png">' ,
60
62
'<img alt="image" src="https://user-images.githubusercontent.com/abcdef.png">' ,
61
63
] ;
@@ -67,7 +69,7 @@ describe("GH001: No Default Alt Text", () => {
67
69
. flat ( )
68
70
. filter ( ( name ) => ! name . includes ( "GH" ) ) ;
69
71
70
- expect ( failedRules ) . toHaveLength ( 6 ) ;
72
+ expect ( failedRules ) . toHaveLength ( 7 ) ;
71
73
for ( const rule of failedRules ) {
72
74
expect ( rule ) . toBe ( "no-default-alt-text" ) ;
73
75
}
0 commit comments