@@ -33,6 +33,7 @@ describe("GH001: No Default Alt Text", () => {
3333 "" ,
3434 "" ,
3535 "" ,
36+ "" ,
3637 "" ,
3738 "" ,
3839 ] ;
@@ -44,7 +45,7 @@ describe("GH001: No Default Alt Text", () => {
4445 . flat ( )
4546 . filter ( ( name ) => ! name . includes ( "GH" ) ) ;
4647
47- expect ( failedRules ) . toHaveLength ( 6 ) ;
48+ expect ( failedRules ) . toHaveLength ( 7 ) ;
4849 for ( const rule of failedRules ) {
4950 expect ( rule ) . toBe ( "no-default-alt-text" ) ;
5051 }
@@ -56,6 +57,7 @@ describe("GH001: No Default Alt Text", () => {
5657 '<img alt="ScreenShot 2022-06-26 at 7 41 30 PM" src="https://user-images.githubusercontent.com/abcdef.png">' ,
5758 '<img alt="Screen shot 2022-06-26 at 7 41 30 PM" src="https://user-images.githubusercontent.com/abcdef.png">' ,
5859 '<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">' ,
5961 '<img alt="Image" src="https://user-images.githubusercontent.com/abcdef.png">' ,
6062 '<img alt="image" src="https://user-images.githubusercontent.com/abcdef.png">' ,
6163 ] ;
@@ -67,7 +69,7 @@ describe("GH001: No Default Alt Text", () => {
6769 . flat ( )
6870 . filter ( ( name ) => ! name . includes ( "GH" ) ) ;
6971
70- expect ( failedRules ) . toHaveLength ( 6 ) ;
72+ expect ( failedRules ) . toHaveLength ( 7 ) ;
7173 for ( const rule of failedRules ) {
7274 expect ( rule ) . toBe ( "no-default-alt-text" ) ;
7375 }
0 commit comments