$ pnpm --filter @zoen/db test:int # cwd /Users/king/Desktop/Workspace/SRO/zoen # exit 1 > @zoen/db@0.1.0 test:int /Users/king/Desktop/Workspace/SRO/zoen/packages/db > node --test "tests/*.int.test.mjs" TAP version 13 # 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 not ok 1 - anon key reaches api.health as anon --- duration_ms: 23.691708 type: 'test' location: '/Users/king/Desktop/Workspace/SRO/zoen/packages/db/tests/roles.int.test.mjs:27:1' failureType: 'testCodeFailure' error: |- Expected values to be strictly equal: 406 !== 200 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 200 actual: 406 operator: 'strictEqual' stack: |- TestContext. (file:///Users/king/Desktop/Workspace/SRO/zoen/packages/db/tests/roles.int.test.mjs:29:10) process.processTicksAndRejections (node:internal/process/task_queues:103:5) async Test.run (node:internal/test_runner/test:1054:7) async startSubtestAfterBootstrap (node:internal/test_runner/harness:296:3) ... # Subtest: site_server and job_worker JWTs run as those roles not ok 2 - site_server and job_worker JWTs run as those roles --- duration_ms: 6.154208 type: 'test' location: '/Users/king/Desktop/Workspace/SRO/zoen/packages/db/tests/roles.int.test.mjs:33:1' failureType: 'testCodeFailure' error: |- {"code":"PGRST106","details":null,"hint":"Only the following schemas are exposed: public, graphql_public","message":"Invalid schema: api"} 406 !== 200 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 200 actual: 406 operator: 'strictEqual' stack: |- TestContext. (file:///Users/king/Desktop/Workspace/SRO/zoen/packages/db/tests/roles.int.test.mjs:36:12) process.processTicksAndRejections (node:internal/process/task_queues:103:5) async Test.run (node:internal/test_runner/test:1054:7) async Test.processPendingSubtests (node:internal/test_runner/test:744:7) ... # Subtest: a token signed with the wrong secret is rejected ok 3 - a token signed with the wrong secret is rejected --- duration_ms: 4.256375 type: 'test' ... # Subtest: site_server cannot read staff tables ok 4 - site_server cannot read staff tables --- duration_ms: 3.022167 type: 'test' ... 1..4 # tests 4 # suites 0 # pass 2 # fail 2 # cancelled 0 # skipped 0 # todo 0 # duration_ms 652.457583 /Users/king/Desktop/Workspace/SRO/zoen/packages/db:  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @zoen/db@0.1.0 test:int: `node --test "tests/*.int.test.mjs"` Exit status 1