Open Booteille opened 4 years ago
@Booteille I'm running in to the exact same issue. By any chance have you solved this?
Nop. I never found a solution for that.
I haven't tried this myself, but it looks like the error is because Mocha is using dynamic import()
, which is an ES6 feature and thus unsupported. The front page of the repo links to an ES6-downleveling transform which I think just shoves things through Babel. You may need to further configure the transform to provide a Babel plugin for handling dynamic import()
-- as I say, I haven't actually gotten this working myself.
Hi.
I am asking for help here since I can't find out how to setup my test environment with
karma-typescript
.Using mocha, tests are running fine but as soon as I try to run tests with Karma, I get the following output:
./karma.conf.js
./tsconfig.json
Does anyone have a clue about how to fix it? I tried a lot of different things found on the internet, nothing worked.