You have to execute Node with the --experimental-vm-modules flag. Here are two ways you can add this flag when running Jest:
node --experimental-vm-modules node_modules/jest/bin/jest.js
or
NODE_OPTIONS="$NODE_OPTIONS --experimental-vm-modules" npx jest
personally this is how I handle it in my package.json script
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --runInBand",
Source: Jest documentation