$ pnpm --filter @zoen/db test && pnpm --filter @zoen/db typecheck && pnpm db:types:check # cwd /Users/king/Desktop/Workspace/SRO/zoen # exit 0 > @zoen/db@0.1.0 test /Users/king/Desktop/Workspace/SRO/zoen/packages/db > node --experimental-strip-types --no-warnings=ExperimentalWarning --test "tests/*.test.mjs" TAP version 13 # Subtest: owner bootstrap ok 1 - owner bootstrap --- duration_ms: 719.087583 type: 'test' ... # Subtest: the game_demo seed is deterministic for its seed and changes with another seed ok 2 - the game_demo seed is deterministic for its seed and changes with another seed --- duration_ms: 182.509792 type: 'test' ... # Subtest: every demo record uses real game ids and valid shapes ok 3 - every demo record uses real game ids and valid shapes --- duration_ms: 28.62975 type: 'test' ... # Subtest: a signed publish webhook verifies; tampering, wrong secrets, old timestamps and bad tags are refused ok 4 - a signed publish webhook verifies; tampering, wrong secrets, old timestamps and bad tags are refused --- duration_ms: 2.647708 type: 'test' ... # Stopped services: [supabase_realtime_zoen supabase_imgproxy_zoen supabase_edge_runtime_zoen supabase_analytics_zoen supabase_vector_zoen supabase_pooler_zoen] # Subtest: anon key reaches api.health as anon ok 5 - anon key reaches api.health as anon --- duration_ms: 39.1415 type: 'test' ... # Subtest: site_server and job_worker JWTs run as those roles ok 6 - site_server and job_worker JWTs run as those roles --- duration_ms: 16.989333 type: 'test' ... # Subtest: a token signed with the wrong secret is rejected ok 7 - a token signed with the wrong secret is rejected --- duration_ms: 5.550333 type: 'test' ... # Subtest: site_server cannot read staff tables ok 8 - site_server cannot read staff tables --- duration_ms: 8.468416 type: 'test' ... # Subtest: pre-registration needs an e-mail, a platform and consent ok 9 - pre-registration needs an e-mail, a platform and consent --- duration_ms: 3.347 type: 'test' ... # Subtest: ban reviews need the ban id; bug reports trim optional fields ok 10 - ban reviews need the ban id; bug reports trim optional fields --- duration_ms: 1.363875 type: 'test' ... # Subtest: site settings accept only https socials on known networks and a Steam url when enabled ok 11 - site settings accept only https socials on known networks and a Steam url when enabled --- duration_ms: 4.692083 type: 'test' ... # Subtest: credentials can never use the NEXT_PUBLIC_ prefix ok 12 - credentials can never use the NEXT_PUBLIC_ prefix --- duration_ms: 0.753084 type: 'test' ... # Subtest: config keys come from rulesets.json: one per multiplier, max = largest ruleset value, seed is fresh ok 13 - config keys come from rulesets.json: one per multiplier, max = largest ruleset value, seed is fresh --- duration_ms: 40.223833 type: 'test' ... # Subtest: public sign-up is closed ok 14 - public sign-up is closed --- duration_ms: 32.493166 type: 'test' ... # Subtest: every seeded role reaches AAL2 and sees exactly its own role ok 15 - every seeded role reaches AAL2 and sees exactly its own role --- duration_ms: 1517.723292 type: 'test' ... # Subtest: reset refuses while a non-test account exists ok 16 - reset refuses while a non-test account exists --- duration_ms: 478.806833 type: 'test' ... 1..16 # tests 16 # suites 0 # pass 16 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 2610.917708 > @zoen/db@0.1.0 typecheck /Users/king/Desktop/Workspace/SRO/zoen/packages/db > tsc --noEmit > zoen@0.1.0 db:types:check /Users/king/Desktop/Workspace/SRO/zoen > pnpm --filter @zoen/db types:check > @zoen/db@0.1.0 types:check /Users/king/Desktop/Workspace/SRO/zoen/packages/db > node scripts/types.mjs --check ✔ database types match the live schema