Skip to content

Commit 2f0adc6

Browse files
author
whyboris
committed
pass circleci 🐏
1 parent cd191ca commit 2f0adc6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"build": "tsc",
4040
"lint": "eslint .",
4141
"style": "yarn run lint",
42-
"test": "yarn run coverage",
42+
"test": "yarn build && yarn run coverage",
4343
"coverage": "nyc mocha",
4444
"coverage-html": "nyc report --reporter=html && open ./coverage/index.html",
4545
"check-coverage": "nyc check-coverage --statements 40 --functions 40 --branches 0 --lines 40",

test/cli-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ describe('Cli', function() {
2424
spy.restore();
2525
});
2626

27-
it('should _runGitDiff by default', function() {
28-
var spy = sinon.stub(Cli, '_runGitDiff');
27+
it('should runGitDiff by default', function() {
28+
var spy = sinon.stub(Cli, 'runGitDiff');
2929
Cli.getInput('abc', ['lol', 'foo'], 'ignore', 'callback');
3030
assert(spy.calledOnce);
3131
assert(spy.calledWith(['lol', 'foo'], 'ignore', 'callback'));

0 commit comments

Comments
 (0)