eslint disable next litegraph tests

This commit is contained in:
Benjamin Lu
2025-08-05 18:14:47 -04:00
parent a289f44263
commit 0ce5aeb2bd
8 changed files with 22 additions and 3 deletions

View File

@@ -300,7 +300,9 @@ describe('ExecutableNodeDTO Memory Efficiency', () => {
expect(dto.inputs).toHaveLength(2) // Copied input data only
// Should not duplicate heavy node data
// eslint-disable-next-line no-prototype-builtins
expect(dto.hasOwnProperty('outputs')).toBe(false) // Outputs not copied
// eslint-disable-next-line no-prototype-builtins
expect(dto.hasOwnProperty('widgets')).toBe(false) // Widgets not copied
})
@@ -340,7 +342,9 @@ describe('ExecutableNodeDTO Memory Efficiency', () => {
expect(dto.graph).toBe(innerNode.graph)
// Should not hold heavy references that prevent GC
// eslint-disable-next-line no-prototype-builtins
expect(dto.hasOwnProperty('parentGraph')).toBe(false)
// eslint-disable-next-line no-prototype-builtins
expect(dto.hasOwnProperty('rootGraph')).toBe(false)
})
})