refactor login flow and hooks, address autologin issues

This commit is contained in:
seavor 2026-04-18 10:14:31 -05:00
parent dcd6dc00f4
commit bd2382c94e
43 changed files with 2179 additions and 484 deletions

View file

@ -15,7 +15,11 @@ export default defineConfig({
globals: true,
environment: 'jsdom',
setupFiles: ['./integration/src/helpers/setup.ts'],
include: ['integration/src/**/*.spec.ts'],
include: ['integration/src/**/*.spec.{ts,tsx}'],
// App-suite tests render the full Login container against real Dexie
// (fake-indexeddb) + real WebClient. Under CI/disk load the default
// 5s timeout is tight; 10s leaves headroom without masking real hangs.
testTimeout: 10000,
coverage: {
provider: 'v8',
reporter: ['text', 'html'],