2
0
Эх сурвалжийг харах

add vitest for remark-growi-directive package

reiji-h 1 жил өмнө
parent
commit
9c7961bf3a

+ 13 - 0
packages/remark-growi-directive/vitest.config.ts

@@ -0,0 +1,13 @@
+import tsconfigPaths from 'vite-tsconfig-paths';
+import { defineConfig } from 'vitest/config';
+
+export default defineConfig({
+  plugins: [
+    tsconfigPaths(),
+  ],
+  test: {
+    environment: 'node',
+    clearMocks: true,
+    globals: true,
+  },
+});