We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ed63b commit 33ec5b5Copy full SHA for 33ec5b5
tests/config.spec.ts
@@ -28,7 +28,7 @@ describe('recommended config', () => {
28
})
29
30
31
-describe('recommended plugin', () => {
+describe('plugin configs', () => {
32
const ruleFiles: readonly string[] = readdirSync('./src/rules').filter(
33
file => file !== 'index.ts' && file.endsWith('.ts'),
34
)
@@ -38,8 +38,8 @@ describe('recommended plugin', () => {
38
expect(Object.keys(plugin.rules)).toHaveLength(ruleFiles.length)
39
40
41
- it('should have the recommended config', () => {
+ it('should have the recommended & requiredFirst configs', () => {
42
expect(plugin).toHaveProperty('configs')
43
- expect(Object.keys(plugin.configs)).toHaveLength(1)
+ expect(Object.keys(plugin.configs)).toHaveLength(2)
44
45
0 commit comments