This is a solution to the tutorial for a TS Apollo Server with Unit Tests.)
The tutorial shows how to test an Apollo Server using neo4j with neo-forgery.
To run the test, first run npm i
and then
call npm test
.
If you'd like to get this to work for a real database, add a .env
file with info for your database (as explained in the tutorial). Then you can call
npm run int-test
to run the full integration test.