Closed piyush-avantsoft closed 8 years ago
You have mentioned you are using karma, did you mean wallaby or you have created the issue in a wrong repo? If you actually mean wallaby, could you please share your wallaby config file and a sample repo reproducing your issue?
I have updated my question description. Can you look it again?
Your question doesn't seem to be related to wallaby.js.
This repo is for wallaby.js related issues/questions. Your question is about karma test runner, you should probably ask it on StackOverflow. Given the details you've provided I suspect the issue is you've neither configured babel in your karma config, not are using some kind of module bundler (such as webpack or browserify) capable of handing ES6 modules (compiled to CommonJs by babel).
greeter.js
karma.conf.js
Unit Test
Code editor or IDE name and version
Sublime Text v3
OS name and version
Windows