|
5 | 5 | */ |
6 | 6 |
|
7 | 7 | import assert from 'node:assert'; |
8 | | -import {afterEach, before, beforeEach, describe, it} from 'node:test'; |
| 8 | +import {before, describe, it} from 'node:test'; |
9 | 9 |
|
10 | 10 | import {AggregatedIssue} from '../../node_modules/chrome-devtools-frontend/mcp/mcp.js'; |
11 | | -import {setIssuesEnabled} from '../../src/features.js'; |
12 | 11 | import {loadIssueDescriptions} from '../../src/issue-descriptions.js'; |
13 | 12 | import {McpResponse} from '../../src/McpResponse.js'; |
14 | 13 | import { |
@@ -59,12 +58,6 @@ describe('console', () => { |
59 | 58 | }); |
60 | 59 |
|
61 | 60 | describe('issues', () => { |
62 | | - beforeEach(() => { |
63 | | - setIssuesEnabled(true); |
64 | | - }); |
65 | | - afterEach(() => { |
66 | | - setIssuesEnabled(false); |
67 | | - }); |
68 | 61 | it('lists issues', async () => { |
69 | 62 | await withMcpContext(async (response, context) => { |
70 | 63 | const page = await context.newPage(); |
@@ -155,12 +148,6 @@ describe('console', () => { |
155 | 148 |
|
156 | 149 | describe('issues type', () => { |
157 | 150 | const server = serverHooks(); |
158 | | - beforeEach(() => { |
159 | | - setIssuesEnabled(true); |
160 | | - }); |
161 | | - afterEach(() => { |
162 | | - setIssuesEnabled(false); |
163 | | - }); |
164 | 151 |
|
165 | 152 | it('gets issue details with node id parsing', async t => { |
166 | 153 | await withMcpContext(async (response, context) => { |
|
0 commit comments