Skip to content

Commit

Permalink
update snapshot for e2e typegraph test
Browse files Browse the repository at this point in the history
  • Loading branch information
Natoandro committed Jun 25, 2024
1 parent ff78b23 commit 452769a
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions typegate/tests/e2e/typegraph/__snapshots__/typegraph_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ snapshot[`typegraphs creation 2`] = `
`;

snapshot[`typegraphs creation 3`] = `
\`[
'[
{
"types": [
{
Expand Down Expand Up @@ -628,15 +628,14 @@ snapshot[`typegraphs creation 3`] = `
}
},
{
"name": "function",
"name": "predefined_function",
"runtime": 0,
"effect": {
"effect": "read",
"idempotent": true
},
"data": {
"script": "var _my_lambda = (_, { context }) => context.provider === 'internal'",
"secrets": []
"name": "internal_policy"
}
},
{
Expand Down Expand Up @@ -751,7 +750,7 @@ snapshot[`typegraphs creation 3`] = `
}
}
}
]\`
]'
`;

snapshot[`typegraphs creation 4`] = `
Expand Down Expand Up @@ -1227,7 +1226,7 @@ snapshot[`typegraphs creation 5`] = `
`;

snapshot[`typegraphs creation 6`] = `
\`[
'[
{
"types": [
{
Expand Down Expand Up @@ -1382,15 +1381,14 @@ snapshot[`typegraphs creation 6`] = `
}
},
{
"name": "function",
"name": "predefined_function",
"runtime": 0,
"effect": {
"effect": "read",
"idempotent": true
},
"data": {
"script": "var _my_lambda = (_, { context }) => context.provider === 'internal'",
"secrets": []
"name": "internal_policy"
}
},
{
Expand Down Expand Up @@ -1505,5 +1503,5 @@ snapshot[`typegraphs creation 6`] = `
}
}
}
]\`
]'
`;

0 comments on commit 452769a

Please sign in to comment.