(
options: Partial<HeapSnapshotDiffObject> = {},
)
| 1262 | } |
| 1263 | |
| 1264 | export function createMockDiffObject( |
| 1265 | options: Partial<HeapSnapshotDiffObject> = {}, |
| 1266 | ): HeapSnapshotDiffObject { |
| 1267 | return { |
| 1268 | id: options.id ?? 1, |
| 1269 | selfSize: options.selfSize ?? 10, |
| 1270 | change: options.change ?? 'added', |
| 1271 | }; |
| 1272 | } |
| 1273 | |
| 1274 | export function createMockDetailedClassDiff( |
| 1275 | options: Partial<HeapSnapshotDetailedClassDiff> = {}, |
no outgoing calls
no test coverage detected