File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 48
48
"eslint" : " ^7.31.0" ,
49
49
"eslint-remote-tester" : " ^2.0.1" ,
50
50
"eslint-remote-tester-repositories" : " ^0.0.3" ,
51
- "jest-extended" : " ^0.11.5" ,
52
51
"kcd-scripts" : " ^11.2.2" ,
53
52
"typescript" : " ^4.5.3"
54
53
},
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 "../" ;
3
2
4
3
it ( "should have all the rules" , ( ) => {
5
4
expect ( Object . keys ( rules ) . length ) . toBeGreaterThan ( 0 ) ;
@@ -8,9 +7,9 @@ it("should have all the rules", () => {
8
7
it . each ( Object . keys ( rules ) ) ( "%s should export required fields" , ( ruleName ) => {
9
8
const rule = rules [ ruleName ] ;
10
9
expect ( rule ) . toHaveProperty ( "create" , expect . any ( Function ) ) ;
11
- expect ( rule . meta . docs . url ) . not . toBeEmpty ( ) ;
10
+ expect ( rule . meta . docs . url ) . not . toBe ( "" ) ;
12
11
expect ( rule . meta . docs . category ) . toBe ( "Best Practices" ) ;
13
- expect ( rule . meta . docs . description ) . not . toBeEmpty ( ) ;
12
+ expect ( rule . meta . docs . description ) . not . toBe ( "" ) ;
14
13
} ) ;
15
14
16
15
it ( "should have a recommended config with recommended rules" , ( ) => {
You can’t perform that action at this time.
0 commit comments