Skip to content

Commit

Permalink
"coverage:test" -> "test"
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode committed Feb 15, 2019
1 parent 3d10f19 commit 6f4f2e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@
"url": "https://github.com/wireapp/wire-desktop.git"
},
"scripts": {
"coverage": "yarn coverage:clean && yarn coverage:instrument && yarn test && yarn coverage:report && yarn coverage:check",
"coverage:check": "istanbul check-coverage --branches=10 --functions=10 --lines=35 --statements=30 instrumented-code/coverage.json",
"coverage:clean": "rimraf coverage instrumented-code",
"coverage:instrument": "istanbul instrument dist --no-compact --complete-copy --output instrumented-code",
"coverage:report": "remap-istanbul --input instrumented-code/coverage.json --output coverage -t html",
"coverage:test": "electron-mocha",
"coverage": "yarn coverage:clean && yarn coverage:instrument && yarn coverage:test && yarn coverage:report && yarn coverage:check",
"postinstall": "electron-rebuild -f -w node-addressbook"
"postinstall": "electron-rebuild -f -w node-addressbook",
"test": "electron-mocha"
},
"updateWinUrl": "https://wire-app.wire.com/win/internal/"
}
4 changes: 1 addition & 3 deletions electron/test/main/BeforeTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ const loadSourceCode = () => {
}).forEach(file => require(path.resolve(file)));
};

before(() => {
loadSourceCode();
});
before(() => loadSourceCode());

0 comments on commit 6f4f2e6

Please sign in to comment.