Cannot use import statement outside a module

module.exports = {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "14"
}
}
]
]
}
// Options to be passed to Jasmine.
jasmineOpts: {
// Babel setup
helpers: [require.resolve('@babel/register')]
},

--

--

--

I am an experienced Automation test engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Blog Post 403

How to create an eCommerce app with Angular and Firebase: Part 1

Testing scheduled node-cron tasks

Extending Node.js with native C++ modules

Implementing a Queue in JavaScript?

a line of people in a queue

//platform.twitter.com/widgets.js from Twitter https://twitter.com/iconbuildgroup

No-Config React With Parcel

Croma — My first react native app after 7 years of backend development(https://croma.app)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Srikanth Gurram

Srikanth Gurram

I am an experienced Automation test engineer

More from Medium

SOLID Principles

SOLID Principle

How to handle exceptions?

Person Programming Illistration

Basic OOP for shavetail Louies — PART IV [Polymorphism]