I execute the course “neo4j graphacademy app-nodejs”. When I try to run the required tests, I get the message in the terminal:
test/challenges/02-movie-lists.spec.js
● Test suite failed to run
ES Modules are only supported if your test environment has the `getVmContext` function
at invariant (node_modules/jest-runtime/build/index.js:1855:11)
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 2.114s
What is going wrong?