mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
feat(server): introduce user friendly server errors (#7111)
This commit is contained in:
@@ -102,11 +102,8 @@ describe('GraphQL fetcher', () => {
|
||||
)
|
||||
);
|
||||
|
||||
await expect(gql({ query, variables: void 0 })).rejects
|
||||
.toMatchInlineSnapshot(`
|
||||
[
|
||||
[GraphQLError: error],
|
||||
]
|
||||
`);
|
||||
await expect(
|
||||
gql({ query, variables: void 0 })
|
||||
).rejects.toMatchInlineSnapshot(`[GraphQLError: error]`);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user