Fix webapp tests

This commit is contained in:
Simon Prévost 2020-09-01 07:16:27 -04:00
parent e4126cb7eb
commit 39ef686780

View File

@ -89,7 +89,7 @@ export interface Server {
export const setupPretender = (): Server => {
const server: Pretender = new Pretender(function () {
this.post('fake/endpoint/graphql', (request) => {
this.post('/graphql', (request) => {
const response = handleGraphQLRequest(request);
return response