Skip to content

Commit

Permalink
Fix network panel tests (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmondChuiHW authored Feb 5, 2025
1 parent a880a6f commit c684970
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions front_end/panels/network/NetworkPanel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// found in the LICENSE file.

import * as Common from '../../core/common/common.js';
import * as Root from '../../core/root/root.js';
import * as SDK from '../../core/sdk/sdk.js';
import * as Logs from '../../models/logs/logs.js';
import * as TraceEngine from '../../models/trace/trace.js';
Expand Down Expand Up @@ -89,6 +90,7 @@ describeWithMockConnection('NetworkPanel', () => {
beforeEach(async () => {
UI.ActionRegistration.maybeRemoveActionExtension('network.toggle-recording');
UI.ActionRegistration.maybeRemoveActionExtension('network.clear');
Root.Runtime.experiments.register(Root.Runtime.RNExperimentName.ENABLE_NETWORK_PANEL, 'Network for test');
await import('./network-meta.js');
createTarget();
const dummyStorage = new Common.Settings.SettingsStorage({});
Expand Down

0 comments on commit c684970

Please sign in to comment.