Skip to content

Commit

Permalink
Merge pull request #1541 from mightyiam/compatibility-test-without-li…
Browse files Browse the repository at this point in the history
…nt-files

chore: no lintFiles in tests
  • Loading branch information
mightyiam committed May 5, 2024
2 parents 73e61e2 + 76e63e5 commit d46bdf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/compatibility.ts
Expand Up @@ -49,7 +49,8 @@ test('our configuration is compatible with the plugin and parser at bottom of pe
overrideConfig: config
})

const results = await eslint.lintFiles('src/**/*')
const results = await eslint.lintText('', { filePath: 'src/index.ts' })

t.true(results.length > 0)
results.forEach(result => t.deepEqual(result.messages, [], result.filePath))
})

0 comments on commit d46bdf9

Please sign in to comment.