Skip to content

Commit

Permalink
fix(plugin-lighthouse): process empty array flags
Browse files Browse the repository at this point in the history
Co-authored-by: Matěj Chalk <34691111+matejchalk@users.noreply.github.com>
  • Loading branch information
hanna-skryl and matejchalk committed Aug 16, 2024
1 parent 2101cf1 commit 304b229
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ describe('normalizeFlags', () => {
onlyCategories: [],
};
const result = normalizeFlags(flags);
expect(result).not.toHaveProperty(['onlyAudits']);
expect(result).not.toHaveProperty('onlyAudits');
expect(result).not.toHaveProperty('skipAudits');
expect(result).not.toHaveProperty('onlyCategories');
});
Expand Down

0 comments on commit 304b229

Please sign in to comment.