chore: enable @typescript-eslint/no-floating-promises rule (#260)
This commit is contained in:
@@ -53,7 +53,7 @@ export const test = baseTest.extend<TestFixtures, WorkerFixtures>({
|
||||
const userDataDir = testInfo.outputPath('user-data-dir');
|
||||
let client: StdioClientTransport | undefined;
|
||||
|
||||
use(async options => {
|
||||
await use(async options => {
|
||||
const args = ['--user-data-dir', userDataDir];
|
||||
if (mcpHeadless)
|
||||
args.push('--headless');
|
||||
|
||||
@@ -42,8 +42,8 @@ test('browser_network_requests', async ({ client, server }) => {
|
||||
},
|
||||
});
|
||||
|
||||
expect.poll(() => client.callTool({
|
||||
await expect.poll(() => client.callTool({
|
||||
name: 'browser_network_requests',
|
||||
arguments: {},
|
||||
})).toHaveTextContent(`[GET] http://localhost:8907/json => [200] OK`);
|
||||
})).toHaveTextContent(`[GET] http://localhost:${server.PORT}/json => [200] OK`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user