https://github.com/atomantic/lab_istanbul
debug repo for using Hapi + Lab and gulp-istanbul together
https://github.com/atomantic/lab_istanbul
Last synced: about 1 year ago
JSON representation
debug repo for using Hapi + Lab and gulp-istanbul together
- Host: GitHub
- URL: https://github.com/atomantic/lab_istanbul
- Owner: atomantic
- Created: 2014-09-12T21:54:03.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-02-04T18:10:46.000Z (over 2 years ago)
- Last Synced: 2025-02-12T15:47:34.155Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# testing gulp-istanbul issue 37
https://github.com/SBoudrias/gulp-istanbul/issues/37
```
git clone git@github.com:atomantic/lab_istanbul.git
cd lab_istanbul
npm install
gulp test
```
report should show that index.js is 100% covered, but it's showing 0%.
```
-----------------|-----------|-----------|-----------|-----------|
File | % Stmts |% Branches | % Funcs | % Lines |
-----------------|-----------|-----------|-----------|-----------|
lab_istanbul/ | 0 | 0 | 0 | 0 |
index.js | 0 | 0 | 0 | 0 |
-----------------|-----------|-----------|-----------|-----------|
All files | 0 | 0 | 0 | 0 |
-----------------|-----------|-----------|-----------|-----------|
=============================== Coverage summary ===============================
Statements : 0% ( 0/8 )
Branches : 0% ( 0/2 )
Functions : 0% ( 0/2 )
Lines : 0% ( 0/8 )
================================================================================
```
However Istanbul, reports correctly by itself:
```
⇒ istanbul cover test/index.js
Server running at: http://q.local:46000 version: 0.0.1
=============================================================================
Writing coverage object [/opt/github.com/atomantic/lab_istanbul/coverage/coverage.json]
Writing coverage reports at [/opt/github.com/atomantic/lab_istanbul/coverage]
=============================================================================
=============================== Coverage summary ===============================
Statements : 100% ( 8/8 )
Branches : 100% ( 2/2 )
Functions : 100% ( 2/2 )
Lines : 100% ( 8/8 )
================================================================================
```