$ pnpm --filter @zoen/db test && pnpm site:e2e # cwd /Users/king/Desktop/Workspace/SRO/zoen # exit 1 > @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: 688.331208 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: 112.250333 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: 22.570667 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: 1.371167 type: 'test' ... # Subtest: the outbox drains in batches, ≤ 50 tags per signed request, and stops when the site fails ok 5 - the outbox drains in batches, ≤ 50 tags per signed request, and stops when the site fails --- duration_ms: 1.25125 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 6 - anon key reaches api.health as anon --- duration_ms: 34.397958 type: 'test' ... # Subtest: site_server and job_worker JWTs run as those roles ok 7 - site_server and job_worker JWTs run as those roles --- duration_ms: 25.177292 type: 'test' ... # Subtest: a token signed with the wrong secret is rejected ok 8 - a token signed with the wrong secret is rejected --- duration_ms: 6.16175 type: 'test' ... # Subtest: site_server cannot read staff tables ok 9 - site_server cannot read staff tables --- duration_ms: 4.860375 type: 'test' ... # node:internal/modules/esm/resolve:275 # throw new ERR_MODULE_NOT_FOUND( # ^ # Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/king/Desktop/Workspace/SRO/zoen/packages/db/src/schemas/constants' imported from /Users/king/Desktop/Workspace/SRO/zoen/packages/db/src/schemas/index.ts # at finalizeResolution (node:internal/modules/esm/resolve:275:11) # at moduleResolve (node:internal/modules/esm/resolve:861:10) # at defaultResolve (node:internal/modules/esm/resolve:985:11) # at \#cachedDefaultResolve (node:internal/modules/esm/loader:747:20) # at ModuleLoader.resolve (node:internal/modules/esm/loader:724:38) # at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:320:38) # at ModuleJob._link (node:internal/modules/esm/module_job:182:49) { # code: 'ERR_MODULE_NOT_FOUND', # url: 'file:///Users/king/Desktop/Workspace/SRO/zoen/packages/db/src/schemas/constants' # } # Node.js v22.23.1 # Subtest: tests/schemas.test.mjs not ok 5 - tests/schemas.test.mjs --- duration_ms: 104.889416 type: 'test' location: '/Users/king/Desktop/Workspace/SRO/zoen/packages/db/tests/schemas.test.mjs:1:1' failureType: 'testCodeFailure' exitCode: 1 signal: ~ error: 'test failed' code: 'ERR_TEST_FAILURE' ... # Subtest: public sign-up is closed ok 11 - public sign-up is closed --- duration_ms: 32.500625 type: 'test' ... # Subtest: every seeded role reaches AAL2 and sees exactly its own role ok 12 - every seeded role reaches AAL2 and sees exactly its own role --- duration_ms: 1493.852125 type: 'test' ... # Subtest: reset refuses while a non-test account exists ok 13 - reset refuses while a non-test account exists --- duration_ms: 487.533417 type: 'test' ... 1..13 # tests 13 # suites 0 # pass 12 # fail 1 # cancelled 0 # skipped 0 # todo 0 # duration_ms 2573.739083 /Users/king/Desktop/Workspace/SRO/zoen/packages/db:  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @zoen/db@0.1.0 test: `node --experimental-strip-types --no-warnings=ExperimentalWarning --test "tests/*.test.mjs"` Exit status 1