File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,6 @@ group("unittests") {
139139 " models/extensions:unittests" ,
140140 " models/geometry:unittests" ,
141141 " models/har:unittests" ,
142- " models/heap_snapshot:unittests" ,
143142 " models/issues_manager:unittests" ,
144143 " models/javascript_metadata:unittests" ,
145144 " models/live-metrics:unittests" ,
@@ -288,6 +287,7 @@ group("foundation_unittests") {
288287 " models/ai_assistance:foundation_unittests" ,
289288 " models/crux-manager:foundation_unittests" ,
290289 " models/formatter:unittests" ,
290+ " models/heap_snapshot:unittests" ,
291291 " models/issues_manager:foundation_unittests" ,
292292 " models/stack_trace:unittests" ,
293293 ]
Original file line number Diff line number Diff line change @@ -28,14 +28,15 @@ devtools_entrypoint("bundle") {
2828
2929 visibility = [
3030 " :*" ,
31+ " ../../../mcp/*" ,
3132 " ../../entrypoints/heap_snapshot_worker/*" ,
3233 " ../../panels/profiler/*" ,
3334 ]
3435
3536 visibility += devtools_models_visibility
3637}
3738
38- ts_library (" unittests" ) {
39+ devtools_foundation_module (" unittests" ) {
3940 testonly = true
4041
4142 sources = [ " heap_snapshot.test.ts" ]
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- import { describeWithEnvironment } from '../../testing/EnvironmentHelpers.js' ;
6-
7- describeWithEnvironment ( 'HeapSnapshotModel' , ( ) => {
5+ describe ( 'HeapSnapshotModel' , ( ) => {
86 it ( 'module can be imported' , async ( ) => {
97 await import ( './heap_snapshot.js' ) ;
108 } ) ;
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ devtools_module("mcp") {
2424 " ../front_end/models/bindings:bundle" ,
2525 " ../front_end/models/crux-manager:bundle" ,
2626 " ../front_end/models/formatter:bundle" ,
27+ " ../front_end/models/heap_snapshot:bundle" ,
2728 " ../front_end/models/issues_manager:bundle" ,
2829 " ../front_end/models/stack_trace:bundle" ,
2930 " ../front_end/models/trace:bundle" ,
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ export {AgentFocus} from '../front_end/models/ai_assistance/performance/AIContex
3838export { DebuggerWorkspaceBinding } from '../front_end/models/bindings/DebuggerWorkspaceBinding.js' ;
3939export { CrUXManager } from '../front_end/models/crux-manager/CrUXManager.js' ;
4040export * as Formatter from '../front_end/models/formatter/formatter.js' ;
41+ export * as HeapSnapshotModel from '../front_end/models/heap_snapshot/heap_snapshot.js' ;
4142export { Issue } from '../front_end/models/issues_manager/Issue.js' ;
4243export {
4344 AggregatedIssue ,
@@ -53,7 +54,6 @@ export {
5354export * as MarkdownIssueDescription from '../front_end/models/issues_manager/MarkdownIssueDescription.js' ;
5455export * as StackTrace from '../front_end/models/stack_trace/stack_trace.js' ;
5556export * as TraceEngine from '../front_end/models/trace/trace.js' ;
56- export { IgnoreListManager } from '../front_end/models/workspace/IgnoreListManager.js' ;
5757export * as Marked from '../front_end/third_party/marked/marked.js' ;
5858
5959installInspectorFrontendHost ( new McpHostBindings ( ) ) ;
You can’t perform that action at this time.
0 commit comments