40 lines
975 B
Plaintext
40 lines
975 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`onInstall plugins does not have access to inline types 1`] = `
|
|
"input Inline {
|
|
hidden: String
|
|
}
|
|
|
|
type Query {
|
|
bar(inline: Inline): String
|
|
}"
|
|
`;
|
|
|
|
exports[`onInstall plugins does not see fallback ok-query 1`] = `
|
|
"type Query {
|
|
ok: Boolean!
|
|
}"
|
|
`;
|
|
|
|
exports[`onInstall plugins has access to top-level types 1`] = `
|
|
"type Query {
|
|
ok: Boolean!
|
|
}
|
|
|
|
type foo {
|
|
bar: String
|
|
}"
|
|
`;
|
|
|
|
exports[`onInstall plugins may contribute types 1`] = `
|
|
"type Query {
|
|
something: String
|
|
}"
|
|
`;
|
|
|
|
exports[`runtime config validation checks name is not empty 1`] = `"Plugin \\"\\" is giving an invalid value for property name: empty string"`;
|
|
|
|
exports[`runtime config validation checks name is string 1`] = `"Plugin \\"1\\" is giving an invalid value for property name: expected \\"string\\" type, got number type"`;
|
|
|
|
exports[`runtime config validation checks name present 1`] = `"Plugin \\"undefined\\" is missing required properties: name"`;
|