Fourteen commits since v0.13.0. See CHANGELOG.md for the full list. Two additions: `npm run doctor`, which runs the config doctor from a terminal — including inside the shipped image — and exits with the worst finding, so it can gate a deployment script; and a Playwright spec that loads all fourteen admin routes against a production build. One change, invisible on screen: the admin panel got a form-field layer (#533). Five fixes: grid.gap on both axes (#513), the dashboard status badge (#539), the journal editor's unsaved-changes guard (#538), essay paragraph markup (#537), and aria-pressed on the panel's switches and pickers.
25 lines
515 B
TypeScript
25 lines
515 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
setupFiles: ['./vitest.setup.ts'],
|
|
include: [
|
|
'lib/__tests__/**/*.test.ts',
|
|
'app/**/__tests__/**/*.test.ts',
|
|
'scripts/__tests__/**/*.test.ts',
|
|
],
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['lib/**/*.ts'],
|
|
exclude: ['lib/__tests__/**'],
|
|
},
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, '.'),
|
|
},
|
|
},
|
|
});
|