(
options: Partial<HeapSnapshotDiffObject> = {},
)
| 1208 | } |
| 1209 | |
| 1210 | export function createMockDiffObject( |
| 1211 | options: Partial<HeapSnapshotDiffObject> = {}, |
| 1212 | ): HeapSnapshotDiffObject { |
| 1213 | return { |
| 1214 | id: options.id ?? 1, |
| 1215 | selfSize: options.selfSize ?? 10, |
| 1216 | change: options.change ?? 'added', |
| 1217 | }; |
| 1218 | } |
| 1219 | |
| 1220 | export function createMockDetailedClassDiff( |
| 1221 | options: Partial<HeapSnapshotDetailedClassDiff> = {}, |
no outgoing calls
no test coverage detected