Skip to content

Commit

Permalink
update config test
Browse files Browse the repository at this point in the history
  • Loading branch information
zachbryant committed Apr 22, 2024
1 parent b2ed63b commit 33ec5b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('recommended config', () => {
})
})

describe('recommended plugin', () => {
describe('plugin configs', () => {
const ruleFiles: readonly string[] = readdirSync('./src/rules').filter(
file => file !== 'index.ts' && file.endsWith('.ts'),
)
Expand All @@ -38,8 +38,8 @@ describe('recommended plugin', () => {
expect(Object.keys(plugin.rules)).toHaveLength(ruleFiles.length)
})

it('should have the recommended config', () => {
it('should have the recommended & requiredFirst configs', () => {
expect(plugin).toHaveProperty('configs')
expect(Object.keys(plugin.configs)).toHaveLength(1)
expect(Object.keys(plugin.configs)).toHaveLength(2)
})
})

0 comments on commit 33ec5b5

Please sign in to comment.