mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 07:15:47 +00:00
refactor(lib): fold utils/perf into lib/perf + utils/ui (DOM utilities) into lib/dom
This commit is contained in:
@@ -11,11 +11,11 @@ vi.mock('@/api/network', () => ({
|
||||
}));
|
||||
|
||||
// showToast mocked so we can assert two-LAN validation surfaced the error.
|
||||
vi.mock('@/utils/ui/toast', () => ({
|
||||
vi.mock('@/lib/dom/toast', () => ({
|
||||
showToast: vi.fn(),
|
||||
}));
|
||||
|
||||
import { showToast } from '@/utils/ui/toast';
|
||||
import { showToast } from '@/lib/dom/toast';
|
||||
|
||||
describe('AddServerForm — dual-address behaviour', () => {
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user