Jonathan Adler
Results
2
comments of
Jonathan Adler
It took forever, but I found the solution. Stack Overflow to the rescue (again): https://stackoverflow.com/questions/9249830/how-can-i-set-node-env-production-on-windows So, change the script in the package.json file to: "test-schema": "set GQL_LESSON=lesson-2 && npm test...
To be clear, change the dbUrl in dev.js to: 'mongodb://127.0.0.1:27017/api-design' and change dbUrl in testing.js to: 'mongodb://127.0.0.1:27017/introgql-test'