File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ describe('recommended config', () => {
28
28
} )
29
29
} )
30
30
31
- describe ( 'recommended plugin' , ( ) => {
31
+ describe ( 'plugin configs ' , ( ) => {
32
32
const ruleFiles : readonly string [ ] = readdirSync ( './src/rules' ) . filter (
33
33
file => file !== 'index.ts' && file . endsWith ( '.ts' ) ,
34
34
)
@@ -38,8 +38,8 @@ describe('recommended plugin', () => {
38
38
expect ( Object . keys ( plugin . rules ) ) . toHaveLength ( ruleFiles . length )
39
39
} )
40
40
41
- it ( 'should have the recommended config ' , ( ) => {
41
+ it ( 'should have the recommended & requiredFirst configs ' , ( ) => {
42
42
expect ( plugin ) . toHaveProperty ( 'configs' )
43
- expect ( Object . keys ( plugin . configs ) ) . toHaveLength ( 1 )
43
+ expect ( Object . keys ( plugin . configs ) ) . toHaveLength ( 2 )
44
44
} )
45
45
} )
You can’t perform that action at this time.
0 commit comments