mirror of
https://github.com/langgenius/dify.git
synced 2026-05-01 16:08:04 +08:00
refactor(tests): update test imports and improve assertions in plugin test files; remove obsolete constants test file
This commit is contained in:
@ -50,7 +50,7 @@ vi.mock('@/app/components/base/modal/modal', () => ({
|
||||
<button data-testid="modal-confirm" onClick={onConfirm}>Save And Auth</button>
|
||||
<button data-testid="modal-cancel" onClick={onCancel}>Save Only</button>
|
||||
<button data-testid="modal-close" onClick={onExtraButtonClick}>Cancel</button>
|
||||
{footerSlot && <div data-testid="footer-slot">{footerSlot}</div>}
|
||||
{!!footerSlot && <div data-testid="footer-slot">{footerSlot}</div>}
|
||||
</div>
|
||||
),
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user