[Test] Update expectation context menu deprecation

This commit is contained in:
filtered
2025-05-03 14:22:10 +10:00
parent 743f3cb5a1
commit 39c4313634

View File

@@ -1127,13 +1127,11 @@ export class GroupNodeHandler {
getExtraMenuOptions?.apply(this, arguments)
// @ts-expect-error fixme ts strict error
let optionIndex = options.findIndex((o) => o.content === 'Outputs')
let optionIndex = options.findIndex((o) => o.content === 'Properties')
if (optionIndex === -1) optionIndex = options.length
else optionIndex++
options.splice(
optionIndex,
0,
null,
{
content: 'Convert to nodes',
// @ts-expect-error
@@ -1145,7 +1143,8 @@ export class GroupNodeHandler {
{
content: 'Manage Group Node',
callback: () => manageGroupNodes(this.type)
}
},
null
)
}