Open nshaikhinurov opened 5 years ago
Replacing localhost to 127.0.0.1 in config folder to dev and testing file worked for me
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'
Replacing localhost to 127.0.0.1 in config folder to dev and testing file worked for me
Its work for me.
When running test-schema script on branch lesson-2-solution with installed dependencies and mongod running in a terminal I have this error: Jest's output: Product schema › lesson-2: › Product has base fields
$ mongod --version db version v4.0.5 git version: 3739429dd92b92d1b0ab120911a23d50bf03c412 allocator: tcmalloc modules: none build environment: distmod: 2008plus-ssl distarch: x86_64 target_arch: x86_64
What could be the suggestion for resolving this issue?