You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lossless-cut/vitest.config.ts

10 lines
379 B
TypeScript

import { configDefaults, defineConfig } from 'vitest/config';
export default defineConfig({
test: {
// `tsc --build` compiles src/common (tests included) into common-ts-dist. Don't discover those
// compiled copies, or every test in src/common would also run a second time from the build output.
exclude: [...configDefaults.exclude, 'common-ts-dist/**'],
},
});