diff --git a/package.json b/package.json index 5cbc886..387c0b7 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,7 @@ "deploy": "npm run doc:build && gh-pages -d doc", "build": "npm run doc:build && node scripts/build.js", "watch": "node scripts/watch.js", - "pretest": "npm run build", - "test": "npm run lint && jest --coverage", + "test": "jest --coverage", "test:watch": "jest --watch", "doc": "npm run doc:dev", "doc:dev": "NODE_ENV=development parcel website/index.html --out-dir doc --no-cache", @@ -39,6 +38,9 @@ "type": "git", "url": "https://github.com/jaywcjlove/hotkeys.git" }, + "jest": { + "testURL": "http://localhost/" + }, "dependencies": {}, "devDependencies": { "autoprefixer": "^8.6.1",