Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Jul 1, 2024
1 parent 60a3047 commit ffa841c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ describe('isolateComputedFieldsTransformer', () => {
},
},
});
expect(printSchema(new Subschema(baseConfig).transformedSchema)).toMatchInlineSnapshot(`
expect(printSchema(new Subschema(baseConfig).transformedSchema).trim())
.toMatchInlineSnapshot(`
"interface IProduct {
base: String!
}
Expand All @@ -448,7 +449,8 @@ type Mutation {
addProduct(name: String!): Product!
}"
`);
expect(printSchema(new Subschema(computedConfig).transformedSchema)).toMatchInlineSnapshot(`
expect(printSchema(new Subschema(computedConfig).transformedSchema).trim())
.toMatchInlineSnapshot(`
"interface IProduct {
base: String!
computeMe: String!
Expand Down

0 comments on commit ffa841c

Please sign in to comment.