Closed gurpreetatwal closed 7 years ago
Merging #15 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #15 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 6 6
Lines 126 129 +3
=====================================
+ Hits 126 129 +3
Impacted Files | Coverage Δ | |
---|---|---|
loader/index.js | 100% <100%> (ø) |
:arrow_up: |
loader/helpers.js | 100% <100%> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 529355b...818ae43. Read the comment docs.
The current loader for the
.clutchrc
file has a flaw in that it only works if theloader.js
file is required by a file that is located in same directory as the.clutchrc
For example, it would work if say
test/test.js
required the loader and the.clutchrc
is in thetest
folder but would not work if the.clutchrc
was in the root of the project, as described by the readme.It also broke in the common workflow of using the require hook of test runners as the file would not be loaded in the root directory.