Skip to content

Commit

Permalink
chore: update test snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: Will Lopez <[email protected]>
  • Loading branch information
willopez committed Aug 7, 2019
1 parent 0919acb commit 4e71213
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`throws access-denied when updating simpleInventory if not an admin 1`] = `[GraphQLError: Access denied]`;
exports[`throws access-denied when updating simpleInventory if not an admin 1`] = `
Object {
"extensions": Object {
"code": "FORBIDDEN",
"exception": Object {
"details": Object {},
"error": "access-denied",
"eventData": Object {},
"isClientSafe": true,
"reason": "Access denied",
},
},
"locations": Array [
Object {
"column": 3,
"line": 2,
},
],
"message": "Access denied",
"path": Array [
"updateSimpleInventory",
],
}
`;
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`throws access-denied when getting simpleInventory if not an admin 1`] = `[GraphQLError: Access denied]`;
exports[`throws access-denied when getting simpleInventory if not an admin 1`] = `
Object {
"extensions": Object {
"code": "FORBIDDEN",
"exception": Object {
"details": Object {},
"error": "access-denied",
"eventData": Object {},
"isClientSafe": true,
"reason": "Access denied",
},
},
"locations": Array [
Object {
"column": 3,
"line": 2,
},
],
"message": "Access denied",
"path": Array [
"simpleInventory",
],
}
`;

0 comments on commit 4e71213

Please sign in to comment.