We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f838cfb commit 67c2794Copy full SHA for 67c2794
packages/plugin-eslint/src/lib/runner.int.test.ts
@@ -48,16 +48,8 @@ describe('executeRunner', () => {
48
});
49
50
it('should execute ESLint and create audit results for React application', async () => {
51
- const eslintTarget = 'eslint.config.js';
52
- const runnerFn = await createRunnerFunction({
53
- audits: await createAudits(eslintTarget),
54
- targets: [
55
- {
56
- eslintrc: eslintTarget,
57
- patterns: '.',
58
- },
59
- ],
60
- });
+ const args = await prepareRunnerArgs('eslint.config.js');
+ const runnerFn = await createRunnerFunction(args);
61
const res = (await runnerFn({})) as AuditOutputs;
62
expect(osAgnosticAuditOutputs(res)).toMatchSnapshot();
63
0 commit comments