chore: setup vitest

This commit is contained in:
Ilia Mashkov
2026-01-06 12:21:33 +03:00
parent 3a3d6ec577
commit ffad76a4c0
8 changed files with 667 additions and 10 deletions

8
vitest.types.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
import '@testing-library/jest-dom/vitest';
import type { TestingLibraryMatchers } from '@testing-library/jest-dom/matchers';
declare global {
namespace Vi {
interface Matchers<R = any> extends TestingLibraryMatchers<R, void> {}
}
}