Skip to content

Commit

Permalink
🐛 Can't figure out how to get Isparta code coverage working, on to ot…
Browse files Browse the repository at this point in the history
…her things
  • Loading branch information
niftylettuce committed May 12, 2016
1 parent 8266545 commit 447cd87
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
@@ -0,0 +1 @@
repo_token: QKUIyfY9ZVKx48Lqyph3iWpIWNLx7FlpV
4 changes: 3 additions & 1 deletion Readme.md
Expand Up @@ -5,7 +5,7 @@
[![MIT License][license-image]][license-url]
[![Stability][stability-image]][stability-url]
[![Build Status][build-image]][build-url]
[![Test Coverage][codecov-image]][codecov-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![Standard JS Style][standard-image]][standard-url]
[![Unicorn Approved][unicorn-approved]][unicorn-url]

Expand Down Expand Up @@ -931,3 +931,5 @@ Even if we can't find someone for you, we'd love to help put you in the right di
[src-assets]: src/assets/
[unicorn-approved]: http://img.shields.io/badge/unicorn-approved-ff69b4.svg
[unicorn-url]: https://www.youtube.com/watch?v=9auOCbH5Ns4
[coveralls-image]: https://coveralls.io/repos/github/glazedio/glazed/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/glazedio/glazed?branch=master
5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -67,8 +67,8 @@
"browserify": "^13.0.1",
"chai": "^3.5.0",
"check-chai": "0.0.1",
"codecov": "^1.0.1",
"colorguard": "^1.2.0",
"coveralls": "^2.11.9",
"cssnano": "^3.5.2",
"del": "^2.2.0",
"dirty-chai": "^1.2.2",
Expand Down Expand Up @@ -146,9 +146,8 @@
"analyze-coverage": "NODE_ENV=test node_modules/.bin/babel-node node_modules/.bin/isparta cover node_modules/.bin/_mocha",
"build": "gulp build",
"check-coverage": "node_modules/.bin/babel-node node_modules/.bin/istanbul check-coverage",
"codecov": "codecov -t 6e2de5ad-da0e-4347-9486-c44ab8ca20cb",
"compile": "babel src --modules common --out-dir lib --source-maps",
"coverage": "rm -rf coverage/ && npm run lint && npm run build && npm run analyze-coverage && npm run check-coverage && npm run codecov",
"coverage": "npm run lint && npm run build && npm run analyze-coverage && npm run check-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage/",
"lint": "node_modules/.bin/eslint src",
"postinstall": "npm run build",
"start": "DEBUG=* node lib/",
Expand Down
1 change: 1 addition & 0 deletions test/mocha.opts
Expand Up @@ -4,5 +4,6 @@
--reporter spec
--bail
--ui bdd
--report lcovonly
--require test/support/
test/**/*.test.js
5 changes: 5 additions & 0 deletions test/support/index.js
@@ -1,4 +1,9 @@

// babel requirements
import 'babel-polyfill';
import 'babel-regenerator-runtime';
import 'source-map-support/register';

// base URI for everything
global._options = {
baseURI: 'http://localhost:8080',
Expand Down
2 changes: 1 addition & 1 deletion test/unit/server.test.js
Expand Up @@ -2,7 +2,7 @@
import 'isomorphic-fetch';
import Frisbee from 'frisbee';

let server = require('../../src');
let server = require('../../lib');

describe('server', () => {

Expand Down

0 comments on commit 447cd87

Please sign in to comment.