Skip to content

Conversation

@connorjclark
Copy link
Collaborator

This allows the toggle to display these insights, even in their current hidden group. Done this way so that LH consumers/renderers will continue to not display these audits.

see #16418

@connorjclark connorjclark requested a review from a team as a code owner April 8, 2025 17:46
@connorjclark connorjclark requested review from paulirish and removed request for a team April 8, 2025 17:46
it('should inject the report renderer javascript', () => {
const result = ReportGenerator.generateReportHtml({});
assert.ok(result.includes('configSettings.channel||"unknown"'), 'injects the script');
assert.match(result, /configSettings.channel\s?\|\|\s?"unknown"/);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drive by fix so test passes even if report is built w/o minifiication

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@connorjclark connorjclark merged commit 66cce55 into main Apr 8, 2025
26 of 27 checks passed
@connorjclark connorjclark deleted the fix-insight-hidden branch April 8, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants