jest : Cannot use import statement outside a module
// jest.config.js
preset: 'ts-jest'
jest : Cannot use import statement outside a module
// jest.config.js
preset: 'ts-jest'
cannot use import statement outside a module in jest
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
}
cannot use import statement outside a module in jest
export default {
testEnvironment: 'jest-environment-node',
transform: {}
};
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us