Skip to content

Commit

Permalink
update mutation test snapshots due to use of new mutation output
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskalmar committed Jan 30, 2021
1 parent b7922ee commit 04e0de1
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions test/__snapshots__/mutation.spec.ts.snap
Expand Up @@ -50,6 +50,7 @@ Object {
],
"message": "Instance with ID '308' not found or access denied",
"meta": undefined,
"originalError": [Error: Instance with ID '308' not found or access denied],
"path": Array [
"acceptBoardMemberById",
],
Expand Down Expand Up @@ -92,6 +93,7 @@ Object {
"vip",
],
},
"originalError": [Error: Uniqueness constraint violated],
"path": Array [
"buildBoard",
],
Expand Down Expand Up @@ -183,6 +185,7 @@ Object {
],
"message": "Instance with ID '99999' not found or access denied",
"meta": undefined,
"originalError": [Error: Instance with ID '99999' not found or access denied],
"path": Array [
"removeBoardMemberById",
],
Expand Down Expand Up @@ -275,6 +278,7 @@ exports[`mutation via connector handle uniqueness constraints 1`] = `[Error: Uni

exports[`mutation via connector perform create mutations 1`] = `
Object {
"_type_": "boardMember",
"board": "47",
"id": "301",
"invitee": "99",
Expand All @@ -285,8 +289,9 @@ Object {

exports[`mutation via connector perform create mutations with nested JSON attributes 1`] = `
Object {
"_type_": "book",
"author": "Leo Tolstoy",
"i18n": null,
"i18N": null,
"reviews": Array [
Object {
"bookAttributes": Array [
Expand All @@ -304,12 +309,20 @@ Object {
},
],
"shortSummary": null,
"shortSummary.i18n": Object {
"shortSummary_i18n": Object {
"de": undefined,
"en": null,
},
"shortSummary_i18nJson": Object {
"de": undefined,
"en": null,
},
"title": "War and Peace",
"title.i18n": Object {
"title_i18n": Object {
"de": undefined,
"en": "War and Peace",
},
"title_i18nJson": Object {
"de": undefined,
"en": "War and Peace",
},
Expand All @@ -318,6 +331,7 @@ Object {

exports[`mutation via connector perform delete mutations 1`] = `
Object {
"_type_": "boardMember",
"board": "50",
"id": "303",
"invitee": "81",
Expand All @@ -328,6 +342,7 @@ Object {

exports[`mutation via connector perform delete mutations 2`] = `
Object {
"clientMutationId": undefined,
"deleteRowCount": 1,
"id": "303",
"rows": Array [
Expand All @@ -344,6 +359,7 @@ Object {

exports[`mutation via connector perform update mutations 1`] = `
Object {
"_type_": "boardMember",
"board": "50",
"id": "302",
"invitee": "80",
Expand All @@ -354,6 +370,7 @@ Object {

exports[`mutation via connector perform update mutations 2`] = `
Object {
"_type_": "boardMember",
"board": "50",
"id": "302",
"invitee": "80",
Expand All @@ -364,8 +381,9 @@ Object {

exports[`mutation via connector perform update mutations with nested JSON attributes 1`] = `
Object {
"_type_": "book",
"author": "Leo Tolstoy",
"i18n": null,
"i18N": null,
"reviews": Array [
Object {
"bookAttributes": Array [
Expand All @@ -391,12 +409,20 @@ Object {
},
],
"shortSummary": null,
"shortSummary.i18n": Object {
"shortSummary_i18n": Object {
"de": undefined,
"en": null,
},
"shortSummary_i18nJson": Object {
"de": undefined,
"en": null,
},
"title": "War and Peace",
"title.i18n": Object {
"title_i18n": Object {
"de": undefined,
"en": "War and Peace",
},
"title_i18nJson": Object {
"de": undefined,
"en": "War and Peace",
},
Expand Down

0 comments on commit 04e0de1

Please sign in to comment.