Skip to content

Commit 5d86e2b

Browse files
committed
test: rename scoreTarget to scoreTargets
1 parent b17bdcc commit 5d86e2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/lib/implementation/execute-plugin.unit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe('executePlugin', () => {
128128
it('should apply a single score target to all audits', async () => {
129129
const pluginConfig: PluginConfig = {
130130
...MINIMAL_PLUGIN_CONFIG_MOCK,
131-
scoreTarget: 0.8,
131+
scoreTargets: 0.8,
132132
audits: [
133133
{
134134
slug: 'speed-index',
@@ -169,7 +169,7 @@ describe('executePlugin', () => {
169169
it('should apply per-audit score targets', async () => {
170170
const pluginConfig: PluginConfig = {
171171
...MINIMAL_PLUGIN_CONFIG_MOCK, // returns node-version audit with score 0.3
172-
scoreTarget: {
172+
scoreTargets: {
173173
'node-version': 0.2,
174174
},
175175
};

0 commit comments

Comments
 (0)