From: mtmail Date: Wed, 12 May 2021 10:45:13 +0000 (+0200) Subject: "yarn test" should run "yarn build" first to avoid outdated bundle (#147) X-Git-Url: https://git.openstreetmap.org/nominatim-ui.git/commitdiff_plain/b317b796eac8aefdf8b0f989800c2cc078790ae4 "yarn test" should run "yarn build" first to avoid outdated bundle (#147) --- diff --git a/package.json b/package.json index 4d71a4a..9a9c082 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "rollup -c", "dev": "rollup -c -w", "lint": "eslint --quiet .*.js src/ test/", - "test": "mocha --recursive test/", + "test": "rollup -c && mocha --recursive test/", "start": "static-server dist" }, "devDependencies": {