This commit is contained in:
Moriz Wahl 2022-04-28 11:59:52 +02:00
parent 48826feaa6
commit eec79000c9

View File

@ -552,7 +552,9 @@ describe('AdminResolver', () => {
mutate({ mutation: createPendingCreation, variables }),
).resolves.toEqual(
expect.objectContaining({
errors: [new GraphQLError('No information for available creations for the given date')],
errors: [
new GraphQLError('No information for available creations for the given date'),
],
}),
)
})
@ -570,7 +572,9 @@ describe('AdminResolver', () => {
mutate({ mutation: createPendingCreation, variables }),
).resolves.toEqual(
expect.objectContaining({
errors: [new GraphQLError('No information for available creations for the given date')],
errors: [
new GraphQLError('No information for available creations for the given date'),
],
}),
)
})
@ -588,7 +592,9 @@ describe('AdminResolver', () => {
mutate({ mutation: createPendingCreation, variables }),
).resolves.toEqual(
expect.objectContaining({
errors: [new GraphQLError('No information for available creations for the given date')],
errors: [
new GraphQLError('No information for available creations for the given date'),
],
}),
)
})