feat: node border and hover and selected style, and when error (#5491)

* feat: node border and hover and selected style, and when error

* fix test error
This commit is contained in:
Rizumu Ayaka
2025-09-11 18:04:16 +08:00
committed by GitHub
parent e70ddea684
commit 08fe2829d4
2 changed files with 14 additions and 13 deletions

View File

@@ -92,10 +92,9 @@ describe('LGraphNode', () => {
{ nodeData: mockNodeData, selected: true },
new Set(['test-node-123'])
)
expect(wrapper.classes()).toContain('border-blue-500')
expect(wrapper.classes()).toContain('ring-2')
expect(wrapper.classes()).toContain('ring-blue-300')
expect(wrapper.classes()).toContain('outline-2')
expect(wrapper.classes()).toContain('outline-black')
expect(wrapper.classes()).toContain('dark-theme:outline-white')
})
it('should apply executing animation when executing prop is true', () => {