Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

vitest.config.mjs

14 lines451 Bytes

1import { dirname } from 'node:path'
2import { fileURLToPath } from 'node:url'
3import { defineConfig } from 'vitest/config'
4​
5// The lint-rule suites run in Node. They need no coverage and no package
6// setup, so this config stays separate from the packages' configs.
7export default defineConfig({
8 test: {
9 root: dirname(fileURLToPath(import.meta.url)),
10 include: [`*.test.js`],
11 environment: `node`,
12 coverage: { enabled: false },
13 },
14})