File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4848 "eslint" : " ^7.31.0" ,
4949 "eslint-remote-tester" : " ^2.0.1" ,
5050 "eslint-remote-tester-repositories" : " ^0.0.3" ,
51- "jest-extended" : " ^0.11.5" ,
5251 "kcd-scripts" : " ^11.2.2" ,
5352 "typescript" : " ^4.5.3"
5453 },
Original file line number Diff line number Diff line change 1- import { rules , generateRecommendedConfig } from "../index" ;
2- import "jest-extended" ;
1+ import { generateRecommendedConfig , rules } from "../" ;
32
43it ( "should have all the rules" , ( ) => {
54 expect ( Object . keys ( rules ) . length ) . toBeGreaterThan ( 0 ) ;
@@ -8,9 +7,9 @@ it("should have all the rules", () => {
87it . each ( Object . keys ( rules ) ) ( "%s should export required fields" , ( ruleName ) => {
98 const rule = rules [ ruleName ] ;
109 expect ( rule ) . toHaveProperty ( "create" , expect . any ( Function ) ) ;
11- expect ( rule . meta . docs . url ) . not . toBeEmpty ( ) ;
10+ expect ( rule . meta . docs . url ) . not . toBe ( "" ) ;
1211 expect ( rule . meta . docs . category ) . toBe ( "Best Practices" ) ;
13- expect ( rule . meta . docs . description ) . not . toBeEmpty ( ) ;
12+ expect ( rule . meta . docs . description ) . not . toBe ( "" ) ;
1413} ) ;
1514
1615it ( "should have a recommended config with recommended rules" , ( ) => {
You can’t perform that action at this time.
0 commit comments