diff --git a/packages/load/tests/loaders/schema/integration.spec.ts b/packages/load/tests/loaders/schema/integration.spec.ts index f733cc7ece0..6991f7c9d79 100644 --- a/packages/load/tests/loaders/schema/integration.spec.ts +++ b/packages/load/tests/loaders/schema/integration.spec.ts @@ -104,7 +104,20 @@ describe('loadSchema', () => { const schema = await load(schemaPath, { loaders: [new GraphQLFileLoader()], sort: true, - schemas: [buildSchema(`scalar DateTime`)], + schemas: [ + buildSchema(/* GraphQL */ ` + scalar DateTime + + type B { + c: String + d: DateTime + } + + type Query { + b: B + } + `), + ], }); expect(printSchema(schema)).toBeSimilarGqlDoc(/* GraphQL */ ` scalar DateTime @@ -116,10 +129,16 @@ describe('loadSchema', () => { type Query { a: String + b: B d: String z: String } + type B { + c: String + d: DateTime + } + type User { a: String aa: String