diff --git a/package.json b/package.json index f30640f..d63ab7f 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "changelog": "./t changelog", "prepublish": "npm run build", "lint": "eslint --fix index.js rollup.config.js lib/ test/", - "test": "mocha" + "test": "yarn build && mocha" }, "repository": { "type": "git",