Replaced tests with jest

This commit is contained in:
2022-02-20 20:10:08 +00:00
parent f2994fc52e
commit ca11cc8963
23 changed files with 7595 additions and 1019 deletions

View File

@@ -4,7 +4,7 @@ const { eatBlock, checkAlphaNumeric } = require('./utils');
const parseInput = require('./parse-input');
//parse the schema into a type graph
const buildTypeGraph = (schema, options) => {
const buildTypeGraph = (schema, options = {}) => {
//the default graph
let graph = {
String: { typeName: 'String', scalar: true },