mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
refactor login flow and hooks, address autologin issues
This commit is contained in:
parent
dcd6dc00f4
commit
bd2382c94e
43 changed files with 2179 additions and 484 deletions
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue