Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Osbourne committed Oct 23, 2024
1 parent c135755 commit a1a5cd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test.describe('newtab remote messaging framework rmf', () => {
await ntp.openPage({ rmf: 'big_single_action' })

await page.getByText('Tell Us Your Thoughts on Privacy Pro').waitFor()
await page.getByRole('button', { name: 'Take Survey' }).click();
await page.getByRole('button', { name: 'Take Survey' }).click()
await ntp.mocks.waitForCallCount({ method: 'rmf_primaryAction', count: 1 })
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class RMFService {
/**
* @param {string} id
*/
primaryAction(id) {
primaryAction (id) {
this.ntp.messaging.notify('rmf_primaryAction', { id })
}
}
2 changes: 1 addition & 1 deletion special-pages/pages/new-tab/app/widget-list/WidgetList.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function WidgetList () {
{widgets.map((widget) => {
const matchingConfig = widgetConfigItems.find(item => item.id === widget.id)
if (!matchingConfig) {
const matching = widgetMap[widget.id];
const matching = widgetMap[widget.id]
if (matching) {
return (
<Fragment key={widget.id}>
Expand Down

0 comments on commit a1a5cd2

Please sign in to comment.