aboutsummaryrefslogtreecommitdiff
path: root/vitest.config.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-12-14 22:43:24 -0800
committerElizabeth Hunt <me@liz.coffee>2025-12-14 22:43:24 -0800
commitcdb1a57614068fcfefa145bc6df45c9def7ccc6a (patch)
tree92cadbecda8658c143b7625d5925e3411976a892 /vitest.config.ts
parent6d318665a08c0d4564d8de23cc39425d2c0bac49 (diff)
downloadposthook-cdb1a57614068fcfefa145bc6df45c9def7ccc6a.tar.gz
posthook-cdb1a57614068fcfefa145bc6df45c9def7ccc6a.zip
Updates
Diffstat (limited to 'vitest.config.ts')
-rw-r--r--vitest.config.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/vitest.config.ts b/vitest.config.ts
new file mode 100644
index 0000000..fc569f5
--- /dev/null
+++ b/vitest.config.ts
@@ -0,0 +1,10 @@
+import { defineConfig } from 'vitest/config';
+
+export default defineConfig({
+ test: {
+ environment: 'node',
+ include: ['test/**/*.test.ts'],
+ restoreMocks: true,
+ clearMocks: true,
+ },
+});