-
Notifications
You must be signed in to change notification settings - Fork 406
[fix] Update Litegraph test snapshots after PR #5310 #5314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🎭 Playwright Test Results✅ All tests passed across all browsers! ⏰ Completed at: 09/03/2025, 06:31:02 AM UTC 📊 Test Reports by Browser🎉 Your tests are passing across all browsers! |
| }) | ||
|
|
||
| input.widget = { name: subgraphInput.name } | ||
| const hasNode = (w: any): w is { node: LGraphNode } => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might have to add an additional shape check, but I think we can avoid an explicit any here.
| const hasNode = (w: any): w is { node: LGraphNode } => | |
| const hasNode = (w: unknown): w is { node: LGraphNode } => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is likely a missed checkout after reviewing #5024. Here, unknown is insufficient because an unknown w doesn't have a .node attribute.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, was testing Austin's PR forgot to checkout back to main before making this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updates outdated snapshots to match current LiteGraph behavior.
6c7a884 to
95cac2e
Compare
Updates outdated snapshots to match current LiteGraph behavior.
Summary
Context
After PR #5310 added the Litegraph test configuration, the test suite revealed that 3 snapshot tests had outdated expectations. This PR updates those snapshots to match the current behavior.
Test Results
🤖 Generated with Claude Code
┆Issue is synchronized with this Notion page by Unito