Skip to content

Commit cd996fd

Browse files
Update packages/plugin-eslint/src/lib/runner/index.unit.test.ts
Co-authored-by: Matěj Chalk <34691111+matejchalk@users.noreply.github.com>
1 parent b55b1ca commit cd996fd

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

packages/plugin-eslint/src/lib/runner/index.unit.test.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,6 @@ import * as lintModule from './lint.js';
1212
import type { LinterOutput } from './types.js';
1313
import * as utilsFileModule from './utils.js';
1414

15-
describe('call createRunnerFunction', () => {
16-
it('should create runnerFunction correctly', () => {
17-
expect(
18-
createRunnerFunction({
19-
audits: [
20-
{ slug: 'max-lines', title: 'Max lines', description: 'Test' },
21-
{
22-
slug: 'no-unused-vars',
23-
title: 'No unused vars',
24-
description: 'Test',
25-
},
26-
],
27-
targets: [{ patterns: ['src/**/*.ts'] }],
28-
artifacts: {
29-
artifactsPaths: ['path/to/artifacts.json'],
30-
},
31-
}),
32-
).toStrictEqual(expect.any(Function));
33-
});
34-
});
35-
3615
describe('createRunnerFunction', () => {
3716
const loadArtifactsSpy = vi.spyOn(utilsFileModule, 'loadArtifacts');
3817
const lintSpy = vi.spyOn(lintModule, 'lint');

0 commit comments

Comments
 (0)