web: move to vitest

This commit is contained in:
ponas committed 2026-08-04 03:02:09 +02:00
1 parent eabcd47bfd
commit 6370373f0d
6 files changed
+1228 -17

No files matched your search

+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