web: move to vitest

This commit is contained in:
2026-08-04 03:02:09 +02:00
parent eabcd47bfd
commit 6370373f0d
6 changed files with 1228 additions and 17 deletions
+11
View File
@@ -27,3 +27,14 @@ exclude = '/migrations/'
id = "ruff-format"
files = '^dnscms/.*\.py$'
exclude = '/migrations/'
[[repos]]
repo = "local"
[[repos.hooks]]
id = "vitest"
name = "vitest"
entry = "npm --prefix web test"
language = "system"
files = '^web/(src/.*\.(ts|tsx)|package\.json|vitest\.config\.mts)$'
pass_filenames = false