Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
test: coverage error
Browse files Browse the repository at this point in the history
  • Loading branch information
zeromake committed Sep 23, 2017
1 parent 5178e30 commit 3112b20
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -28,8 +28,8 @@
"test": "tslint src/**/*.ts && tsc && npm run test:karma",
"test:karma": "karma start test/karma.conf.js --single-run && npm run ts-coverage-html && npm run ts-coverage-lcov",
"test:karma:watch": "npm run test:karma -- no-single-run",
"ts-coverage-html": "remap-istanbul -i test/coverage/coverage-final.json -o test/coverage/html -t html",
"ts-coverage-lcov": "remap-istanbul -i test/coverage/coverage-final.json -o test/coverage/lcov.info -t lcovonly",
"ts-coverage-html": "remap-istanbul -i test/coverage/coverage-final.json -o test/coverage/html -t html -e node_modules,test",
"ts-coverage-lcov": "remap-istanbul -i test/coverage/coverage-final.json -o test/coverage/lcov.info -t lcovonly -e node_modules,test",
"coverage": "cat ./test/coverage/lcov.info | coveralls",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"prepublish": "npm run build:all",
Expand Down
2 changes: 1 addition & 1 deletion test/browser/components.js
@@ -1,4 +1,4 @@
import { h, cloneElement, render, rerender, Component, buildVDom } from '../../build/zreact';
import { h, cloneElement, render, rerender, Component, buildVDom } from 'zreact';
/** @jsx h */

let spyAll = obj => Object.keys(obj).forEach( key => obj[key] = sinon.spy(obj,key) );
Expand Down
2 changes: 1 addition & 1 deletion test/browser/context.js
@@ -1,4 +1,4 @@
import { h, render, Component, buildVDom } from '../../build/zreact';
import { h, render, Component, buildVDom } from 'zreact';
/** @jsx h */

const CHILDREN_MATCHER = sinon.match( v => v==null || Array.isArray(v) && !v.length , '[empty children]');
Expand Down
2 changes: 1 addition & 1 deletion test/browser/devtools.js
@@ -1,4 +1,4 @@
import { h, Component, render } from '../../build/zreact';
import { h, Component, render } from 'zreact';
import { initDevTools } from '../../build/devtools';
import { unmountComponent } from '../../build/vdom/component';

Expand Down
2 changes: 1 addition & 1 deletion test/browser/keys.js
@@ -1,4 +1,4 @@
import { h, Component, render } from '../../build/zreact';
import { h, Component, render } from 'zreact';
/** @jsx h */

describe('keys', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/browser/lifecycle.js
@@ -1,4 +1,4 @@
import { h, render, rerender, Component, buildVDom } from '../../build/zreact';
import { h, render, rerender, Component, buildVDom } from 'zreact';
/** @jsx h */

let spyAll = obj => Object.keys(obj).forEach( key => sinon.spy(obj,key) );
Expand Down
2 changes: 1 addition & 1 deletion test/browser/performance.js
Expand Up @@ -2,7 +2,7 @@
/*eslint no-console:0*/
/** @jsx h */

let { h, Component, render, buildVDom } = require('../../build/zreact');
let { h, Component, render, buildVDom } = require('zreact');

const MULTIPLIER = ENABLE_PERFORMANCE ? (coverage ? 5 : 1) : 999999;

Expand Down
2 changes: 1 addition & 1 deletion test/browser/refs.js
@@ -1,4 +1,4 @@
import { h, render, Component, buildVDom } from '../../build/zreact';
import { h, render, Component, buildVDom } from 'zreact';
/** @jsx h */

// gives call count and argument errors names (otherwise sinon just uses "spy"):
Expand Down
2 changes: 1 addition & 1 deletion test/browser/render.js
@@ -1,6 +1,6 @@
/* global DISABLE_FLAKEY */

import { h, render, Component } from '../../build/zreact';
import { h, render, Component } from 'zreact';
/** @jsx h */

function getAttributes(node) {
Expand Down
2 changes: 1 addition & 1 deletion test/browser/spec.js
@@ -1,4 +1,4 @@
import { h, render, rerender, Component } from '../../build/zreact';
import { h, render, rerender, Component } from 'zreact';
/** @jsx h */

const EMPTY_CHILDREN = [];
Expand Down
2 changes: 1 addition & 1 deletion test/browser/svg.js
@@ -1,4 +1,4 @@
import { h, render } from '../../build/zreact';
import { h, render } from 'zreact';
/** @jsx h */


Expand Down

0 comments on commit 3112b20

Please sign in to comment.