DefinitelyTyped/types/graphql/graphql-tests.ts
Ben Iofel c64a754835 @types/graphql: is*Type() predicates can take null and undefined (#27785)
* @types/graphql: is*Type() predicates can take null and undefined

* add tests

* use any

* assert*Type() should take any

* add tests
2018-08-03 10:57:51 -07:00

186 lines
2.8 KiB
TypeScript

import { assertInputType, isInputType, isOutputType } from 'graphql';
///////////////////////////
// graphql //
///////////////////////////
function graphql_tests() {
// TODO
}
///////////////////////////
// graphql/language //
///////////////////////////
function language_ast_tests() {
// TODO
}
function language_index_tests() {
// TODO
}
function language_kinds_tests() {
// TODO
}
function language_lexer_tests() {
// TODO
}
function language_location_tests() {
// TODO
}
function language_parser_tests() {
// TODO
}
function language_printer_tests() {
// TODO
}
function language_source_tests() {
// TODO
}
function language_visitor_tests() {
// TODO
}
///////////////////////////
// graphql/type //
///////////////////////////
function type_definition_tests() {
isInputType(null);
isOutputType(null);
assertInputType(null);
}
function type_directives_tests() {
// TODO
}
function type_introspection_tests() {
// TODO
}
function type_scalars_tests() {
// TODO
}
function type_schema_tests() {
// TODO
}
///////////////////////////
// graphql/validation //
///////////////////////////
function validation_specifiedRules_tests() {
// TODO
}
function validation_validate_tests() {
// TODO
}
///////////////////////////
// graphql/execution //
///////////////////////////
function execution_execute_tests() {
// TODOS
}
function execution_values_tests() {
// TODOS
}
///////////////////////////
// graphql/error //
///////////////////////////
function error_GraphQLError() {
// TODOS
}
function error_formatError() {
// TODOS
}
function error_locatedError() {
// TODOS
}
function error_syntaxError() {
// TODOS
}
///////////////////////////
// graphql/utilities //
///////////////////////////
function utilities_TypeInfo_tests() {
// TODOS
}
function utilities_assertValidName_tests() {
// TODOS
}
function utilities_astFromValue_tests() {
// TODOS
}
function utilities_buildASTSchema_tests() {
// TODOS
}
function utilities_buildClientSchema_tests() {
// TODOS
}
function utilities_concatAST_tests() {
// TODOS
}
function utilities_extendSchema_tests() {
// TODOS
}
function utilities_getOperationAST_tests() {
// TODOS
}
function utilities_index_tests() {
// TODOS
}
function utilities_introspectionQuery_tests() {
// TODOS
}
function utilities_isValidJSValue_tests() {
// TODOS
}
function utilities_isValidLiteralValue_tests() {
// TODOS
}
function utilities_schemaPrinter_tests() {
// TODOS
}
function utilities_separateOperations_tests() {
// TODOS
}
function utilities_typeComparators_tests() {
// TODOS
}
function utilities_typeFromAST_tests() {
// TODOS
}
function utilities_valueFromAST_tests() {
// TODOS
}