Skip to content

Commit 4f21204

Browse files
committed
chore: update tests
1 parent 7ad5c18 commit 4f21204

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

controlplane/test/check-federated-graph.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ describe('CheckFederatedGraph', (ctx) => {
127127
allExternalFieldInstancesError(
128128
'User',
129129
new Map<string, Array<string>>([
130-
['email', ['products']],
131130
['totalProductsCreated', ['products']],
132131
]),
133132
).message,

shared/test/__snapshots__/router.config.test.ts.snap

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -141,22 +141,18 @@ exports[`Router Config Builder > Build Subgraph schema > router.config.json 1`]
141141
{
142142
"typeName": "User",
143143
"fieldNames": [
144-
"reviews",
145-
"id"
144+
"id",
145+
"reviews"
146146
],
147147
"externalFieldNames": [
148-
"id",
149148
"username"
150149
]
151150
},
152151
{
153152
"typeName": "Product",
154153
"fieldNames": [
155-
"reviews",
156-
"upc"
157-
],
158-
"externalFieldNames": [
159-
"upc"
154+
"upc",
155+
"reviews"
160156
]
161157
}
162158
],
@@ -217,12 +213,11 @@ exports[`Router Config Builder > Build Subgraph schema > router.config.json 1`]
217213
{
218214
"typeName": "Product",
219215
"fieldNames": [
216+
"upc",
220217
"inStock",
221-
"shippingEstimate",
222-
"upc"
218+
"shippingEstimate"
223219
],
224220
"externalFieldNames": [
225-
"upc",
226221
"weight",
227222
"price"
228223
]

0 commit comments

Comments
 (0)