provide __typename in mocked response
flag=none test plan: - specs pass qa risk: low Change-Id: I0917465b3c8f4f1b17d71222b7c654ca400d8bfd Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274140 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com> QA-Review: Omar Soto-Fortuño <omar.soto@instructure.com> Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
This commit is contained in:
parent
5d77024a85
commit
d21913ceb8
|
@ -178,7 +178,6 @@ const ignoredWarnings = [
|
|||
/Exactly one focusable child is required/,
|
||||
/Found @client directives in a query but no ApolloClient resolvers were specified/,
|
||||
/is deprecated and will be removed/,
|
||||
/Missing field __typename in/,
|
||||
/Missing field errors in/,
|
||||
/Missing field moduleItem in/,
|
||||
/Please update the following components: %s/,
|
||||
|
|
|
@ -323,7 +323,9 @@ describe('SubmissionManager', () => {
|
|||
|
||||
const successfulResponse = {
|
||||
data: {
|
||||
setModuleItemCompletion: {}
|
||||
setModuleItemCompletion: {
|
||||
__typename: ''
|
||||
}
|
||||
},
|
||||
errors: null
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue