Split test into separate files

This commit is contained in:
2021-04-05 20:46:39 +10:00
parent 15b1fcdc7c
commit 82bf61a88d
5 changed files with 247 additions and 226 deletions

15
test/schema.js Normal file
View File

@@ -0,0 +1,15 @@
//the matching schema
module.exports = `
scalar Date
type Book {
String title
Date published
Float rating
}
type Author {
String name
Book books
}
`;