Add Vitest and unit tests for src/lib/ (#242)

* Add Vitest and unit tests for src/lib/ utilities

Closes #241

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* update node types

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
tmshvandClaude Opus 4.6 authored and GitHub committed 2026-02-08 02:32:06 +07:00
1 parent a5bd82eb3c
commit f5a95f57c8
11 files changed
+1686 -48

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { defineConfig } from "vitest/config"
import path from "path"
export default defineConfig({
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
src: path.resolve(__dirname, "src"),
},
},
test: {
include: ["src/**/*.test.ts"],
},
})