SeedCompany / cord-api-v3

Bible translation project management API
MIT License
18 stars 4 forks source link

Fix toThrowGqlError to support asymmetric matchers #3193

Closed CarsonF closed 2 months ago

CarsonF commented 2 months ago

i.e.

toThrowGqlError(
  errors.notFound({
    message: expect.stringMatching(/Could not find project/i),
  })
)