Skip to content

Commit 2ab8c5c

Browse files
committed
expanded on... something. Power went out and its 2 days later now.
1 parent 2fa2ad3 commit 2ab8c5c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/analysis/buildTypeWeights.test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,13 @@ xdescribe('Test buildTypeWeightsFromSchema function', () => {
311311
beforeEach(() => {
312312
schema = buildSchema(`
313313
type Query {
314-
user: User
315-
movie: Movie
314+
user(id: ID!): User
315+
movie(id: ID!): Movie
316316
}
317317
318318
type User {
319319
name: String
320-
email: String
320+
film: Movie
321321
}
322322
323323
type Movie {
@@ -337,7 +337,6 @@ xdescribe('Test buildTypeWeightsFromSchema function', () => {
337337
weight: 1,
338338
fields: {
339339
name: 0,
340-
email: 0,
341340
},
342341
},
343342
Movie: {
@@ -376,7 +375,6 @@ xdescribe('Test buildTypeWeightsFromSchema function', () => {
376375
});
377376

378377
expectedOutput.user.fields.name = 2;
379-
expectedOutput.user.fields.email = 2;
380378
expectedOutput.movie.fields.name = 2;
381379

382380
expect(typeWeightObject).toEqual({ expectedOutput });

0 commit comments

Comments
 (0)