You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.
When run ./node_modules/.bin/karma start karma.conf.ava.js in terminal, I got some error as follows:
START:
06 08 2017 16:53:01.450:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/
06 08 2017 16:53:01.452:INFO [launcher]: Launching browser Chrome with unlimited concurrency
Unhandled rejection
/Users/pomy/git/test/src/css.js:1
import { ownerDocument, checkToken } from './helper';
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
06 08 2017 16:53:01.459:INFO [launcher]: Starting browser Chrome
06 08 2017 16:53:02.195:INFO [Chrome 59.0.3071 (Mac OS X 10.12.6)]: Connected on socket 2WXI-frxz-uhsFR0AAAA with id 37621167
Chrome 59.0.3071 (Mac OS X 10.12.6) ERROR
You need to include some adapter that implements __karma__.start method!
Chrome 59.0.3071 (Mac OS X 10.12.6) ERROR
You need to include some adapter that implements __karma__.start method!
Hey @dwqs. Looks like something isn't transpiling module syntax.
I'm not sure this module would be a good fit for you though. It hasn't been worked on for over a year, for one. Personally I'm not familiar enough with the various pieces in your setup to help figure out where the transpilation is lacking, either.
Some versions
Node version : v8.1.3
Karma-ava : v0.0.1
ava: github:jamestalmage/ava#karma-ava
Karma config
The config as follows:
My directory hierarchy as follows:
When run
./node_modules/.bin/karma start karma.conf.ava.js
in terminal, I got some error as follows:ava.spec.js:
css.js:
helper.js
The text was updated successfully, but these errors were encountered: