nexus/tests/__snapshots__/definitions.spec.ts.snap

45 lines
640 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`enumType can alias as a nexus method 1`] = `
"enum ABC {
one
three
two
}
input Input {
inAbc: ABC
}
type Out {
outAbc: ABC
}
type Query {
ok: Boolean!
}"
`;
exports[`extendInputType should allow extending input objects 1`] = `
"input InputTest {
hello: String
world: String
}"
`;
exports[`extendType should allow adding types to the Query type 1`] = `
Array [
"user",
"user2",
"post",
"post2",
]
`;
exports[`inputObjectType should output lists properly, #33 1`] = `
"input AddToBasketInput {
extras: [ExtraBasketInput]
extras2: [ExtraBasketInput]
}"
`;