Skip to content

Commit 802b5f7

Browse files
committed
chore: fix lint
1 parent 632f65a commit 802b5f7

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

tests/tools/extensions.test.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {afterEach, describe, it} from 'node:test';
1010

1111
import sinon from 'sinon';
1212

13-
import type { ParsedArguments } from '../../src/cli.js';
13+
import type {ParsedArguments} from '../../src/cli.js';
1414
import type {McpResponse} from '../../src/McpResponse.js';
1515
import {
1616
installExtension,
@@ -19,7 +19,7 @@ import {
1919
reloadExtension,
2020
triggerExtensionAction,
2121
} from '../../src/tools/extensions.js';
22-
import { listPages } from '../../src/tools/pages.js';
22+
import {listPages} from '../../src/tools/pages.js';
2323
import {withMcpContext} from '../utils.js';
2424

2525
const EXTENSION_WITH_SW_PATH = path.join(
@@ -170,11 +170,9 @@ describe('extension', () => {
170170
response,
171171
context,
172172
);
173-
173+
174174
const swTarget = await context.browser.waitForTarget(
175-
t =>
176-
t.type() === 'service_worker' &&
177-
t.url().includes(extensionId),
175+
t => t.type() === 'service_worker' && t.url().includes(extensionId),
178176
);
179177
const swUrl = swTarget.url();
180178

@@ -202,7 +200,7 @@ describe('extension', () => {
202200
},
203201
{
204202
categoryExtensions: true,
205-
} as ParsedArguments
203+
} as ParsedArguments,
206204
);
207205
});
208206
});
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
chrome.action.onClicked.addListener((tab) => {
1+
chrome.action.onClicked.addListener(tab => {
22
console.log('Action clicked');
3-
});
3+
});

0 commit comments

Comments
 (0)