diff --git a/README.md b/README.md index 79a2030..f80114f 100644 --- a/README.md +++ b/README.md @@ -497,7 +497,7 @@ server.shutdown(); // all done. ## Running tests -* `yarn build` builds pretender so it can be loaded by the tests +* `yarn build` builds pretender * `yarn test` runs tests once * `yarn test:server` runs and reruns on changes diff --git a/package.json b/package.json index 386125e..b012735 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "release": "release-it", "prepublishOnly": "npm run build && npm run tests-only", "build": "rollup --config", - "test": "npm run eslint && npm run tests-only", + "test": "npm run build && npm run eslint && npm run tests-only", "test-ci": "npm run build && npm run eslint && npm run tests-only-ci", "tests-only": "karma start --single-run", "tests-only-ci": "karma start --single-run --browsers ChromeHeadlessNoSandbox",