mirror of
https://github.com/actualbudget/actual.git
synced 2026-01-04 20:50:52 -06:00
* 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
19 lines
472 B
TypeScript
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';
|
|
},
|
|
},
|
|
});
|