forked from MapComplete/MapComplete
Enable the doctests
This commit is contained in:
parent
7cc184fdd8
commit
0b8136a5c4
9 changed files with 10 additions and 8577 deletions
|
@ -1,13 +1,11 @@
|
|||
import { defineConfig } from "vitest/config"
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
import autoPreprocess from "svelte-preprocess";
|
||||
import { svelte } from "@sveltejs/vite-plugin-svelte"
|
||||
import autoPreprocess from "svelte-preprocess"
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
svelte({ hot: !process.env.VITEST,
|
||||
preprocess: [autoPreprocess()] }),
|
||||
],
|
||||
plugins: [svelte({ hot: !process.env.VITEST, preprocess: [autoPreprocess()] })],
|
||||
test: {
|
||||
globals: true,
|
||||
setupFiles: ["./test/testhooks.ts"],
|
||||
include: ["./test", "./*.doctest.ts", "./**/*.doctest.ts"],
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue