Files
actual/vitest.config.ts
Julian Dominguez-Schatz 65da89efeb Add configuration to use built-in test explorer in VS Code (#6505)
* Add configuration files to make tests runnable in VS Code

* Add default configs/fix tests when run from VS Code

* Fix typo

* Add release notes
2025-12-29 22:40:20 +00:00

19 lines
472 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
projects: [
'packages/*/vitest.config.{ts,mts}',
'packages/component-library/vitest.web.config.ts',
{
extends: 'packages/loot-core/vitest.web.config.ts',
test: { name: 'loot-core-web', dir: 'packages/loot-core' },
},
],
onConsoleLog: (log, type) => {
// print only console.error
return type === 'stderr';
},
},
});