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', () => {
2828 } )
2929} )
3030
31- describe ( 'recommended plugin' , ( ) => {
31+ describe ( 'plugin configs ' , ( ) => {
3232 const ruleFiles : readonly string [ ] = readdirSync ( './src/rules' ) . filter (
3333 file => file !== 'index.ts' && file . endsWith ( '.ts' ) ,
3434 )
@@ -38,8 +38,8 @@ describe('recommended plugin', () => {
3838 expect ( Object . keys ( plugin . rules ) ) . toHaveLength ( ruleFiles . length )
3939 } )
4040
41- it ( 'should have the recommended config ' , ( ) => {
41+ it ( 'should have the recommended & requiredFirst configs ' , ( ) => {
4242 expect ( plugin ) . toHaveProperty ( 'configs' )
43- expect ( Object . keys ( plugin . configs ) ) . toHaveLength ( 1 )
43+ expect ( Object . keys ( plugin . configs ) ) . toHaveLength ( 2 )
4444 } )
4545} )
You can’t perform that action at this time.
0 commit comments