Run migration memory tests after the main suite (Refs #102)
CI / checks (push) Successful in 4m57s

This commit is contained in:
2026-10-10 18:15:55 -04:00
parent d6041e40ef
commit 7fcf1cded2
+23 -2
View File
@@ -1,10 +1,31 @@
import { sveltekit } from '@sveltejs/kit/vite'; import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vitest/config'; import { configDefaults, defineConfig } from 'vitest/config';
const migrationMemoryTest = 'tests/unit/migration-memory.test.ts';
export default defineConfig({ export default defineConfig({
plugins: [sveltekit()], plugins: [sveltekit()],
test: { test: {
include: ['tests/**/*.{test,spec}.{js,ts}'] projects: [
{
extends: true,
test: {
name: 'application',
include: ['tests/**/*.{test,spec}.{js,ts}'],
exclude: [...configDefaults.exclude, migrationMemoryTest],
sequence: { groupOrder: 0 }
}
},
{
extends: true,
test: {
name: 'migration-memory',
include: [migrationMemoryTest],
// The 256 MiB rebuild must not contend for disk I/O with other tests.
sequence: { groupOrder: 1 }
}
}
]
}, },
server: { server: {
port: 3000 port: 3000