news-catalyst / next-tinynewsdemo

Frontend for Tiny News Collective organizations
https://next-tinynewsdemo.vercel.app
1 stars 0 forks source link

Tests in hasuraQueriesAndMutations.js failing with authorization hook issue #1297

Open chelsea-tnc opened 1 year ago

chelsea-tnc commented 1 year ago

Repro:

  1. Run the tests in hasuraQueriesAndMutations: npm run test -- hasuraQueriesAndMutations.js
  2. Observe the output

Many tests are failing with this issue: Received: [{"extensions": {"code": "unexpected", "path": "$"}, "message": "Invalid response from authorization hook"}]

We've seen this issue occasionally in deployment logs. Need to investigate why. This is likely due to some kind of Hasura limit or configuration that needs updating.