Skip to content

Commit

Permalink
update coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
microshine committed Oct 27, 2016
1 parent c6208be commit 7a5e2ef
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -8,9 +8,10 @@
},
"scripts": {
"prepublish": "npm test",
"pretest": "npm run build:es5",
"pretest": "npm run build:test",
"build": "tsc && rollup -c",
"build:es5": "npm run build && babel index.js -o index.js",
"build:test": "tsc --target es5 --module commonjs --sourcemap",
"test": "mocha test",
"pub": "npm version patch && npm publish && git push",
"coverage": "nyc npm test",
Expand Down
2 changes: 1 addition & 1 deletion test/aes.js
@@ -1,4 +1,4 @@
var webcrypto = require("../index");
var webcrypto = require("../build/index");
var assert = require("assert");

var helper = require("./helper");
Expand Down
2 changes: 1 addition & 1 deletion test/base64.js
@@ -1,4 +1,4 @@
var Base64Url = require("../index").Base64Url;
var Base64Url = require("../build/index").Base64Url;
var assert = require("assert");

describe("Base64 URL", function(){
Expand Down
2 changes: 1 addition & 1 deletion test/crypto.js
@@ -1,4 +1,4 @@
var webcrypto = require("../index");
var webcrypto = require("../build/index");
var assert = require("assert");

describe("Webcrypto", () => {
Expand Down
2 changes: 1 addition & 1 deletion test/helper.js
@@ -1,4 +1,4 @@
var subtle = new (require("../index").SubtleCrypto);
var subtle = new (require("../build/index").SubtleCrypto);
var assert = require("assert");

module.exports.subtle = subtle;
Expand Down

0 comments on commit 7a5e2ef

Please sign in to comment.