Skip to content

Commit 2ff9c60

Browse files
committed
test(models): correct lighthouse runner value
1 parent 90f9366 commit 2ff9c60

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/models/src/lib/core-config.unit.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,13 @@ describe('coreConfigSchema', () => {
170170
slug: 'lighthouse',
171171
title: 'Lighthouse',
172172
icon: 'lighthouse',
173-
runner: { command: 'npm run lint', outputFile: 'output.json' },
173+
runner: async () => [
174+
{
175+
slug: 'csp-xss',
176+
score: 1,
177+
value: 1,
178+
},
179+
],
174180
audits: [
175181
{
176182
slug: 'csp-xss',

0 commit comments

Comments
 (0)