mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Core holds the keys of the data both apps read and maps a node's ref updates to the keys they affect. The query cache wraps TanStack Query for runes, as decided in ADRs 4 and 5.
14 lines
410 B
TypeScript
14 lines
410 B
TypeScript
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "happy-dom",
|
|
include: ["tests/**/*.test.ts"],
|
|
reporters: "verbose",
|
|
},
|
|
plugins: [svelte()],
|
|
// Svelte's server build never runs effects, which rune tests need.
|
|
resolve: { conditions: process.env.VITEST ? ["browser"] : undefined },
|
|
});
|