Add test suite, cover existing functions

This commit is contained in:
2026-03-12 17:28:43 +04:00
parent 53b2c9b4f8
commit c5c999ac79
5 changed files with 1239 additions and 2 deletions

11
vitest.config.ts Normal file
View File

@@ -0,0 +1,11 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'node', // Using node environment as we are testing logic not browser specifics
include: ['test/**/*.test.ts'],
deps: {
interopDefault: true,
},
},
});