jamesplease / jamesplease/testing-with-babel

Question: isparta doesnt seem to work well with files .es6 extension

Open
#13 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
No language data
Stars
47
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I'm trying to get the code coverage working in my project that I recently enabled babel6. I have the es6 files with .es6 extension and es5 files with .js extension.
The babel-node node_modules/.bin/isparta cover _mocha doesn't work well. I use grunt for my build and grunt-mocha-test for running my test cases (test cases are *.es6 and *.js). I don't have luck with code coverage so far with isparta. Any pointers here are appreciated.

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names the command `babel-node node_modules/.bin/isparta cover _mocha` and test files using `.es6` and `.js` extensions, but no repository file or failing test. Start by reproducing the command with the project's test setup; done would require a working coverage path for both extensions, though the issue gives no concrete expected output or fixture.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.