Moved to using a real database ORM for testing

This commit is contained in:
2021-04-05 23:11:53 +10:00
parent 82bf61a88d
commit 2567ee4745
14 changed files with 668 additions and 130 deletions

15
test/handlers/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
}
`;