You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by 鲍 家东 <ba...@outlook.com> on 2021/03/18 03:13:34 UTC

[Help Wanted] Can not run unit tests

Dear All,

I git cloned the latest code and ran “npm install”, then “npm run test”, without changing anything.

But all the tests failed complaining “SyntaxError: Cannot use import statement outside a module”. The screen output is as following.

[cid:image001.png@01D71BE6.8CE33ED0]

What could be wrong here? Do I need to change any configuration to run tests?

Could you please help me to figure out what problem it is? Thanks.

Jiadong

P.S.: E2E tests all passed.