]> git.openstreetmap.org Git - nominatim-ui.git/commitdiff
"yarn test" should run "yarn build" first to avoid outdated bundle (#147)
authormtmail <mtmail@gmx.net>
Wed, 12 May 2021 10:45:13 +0000 (12:45 +0200)
committerGitHub <noreply@github.com>
Wed, 12 May 2021 10:45:13 +0000 (12:45 +0200)
package.json

index 4d71a4a96a25ef15ad3334fbe9bf7f2c81d4520f..9a9c082f7efc4eb2be160158ded007e171b819be 100644 (file)
@@ -7,7 +7,7 @@
     "build": "rollup -c",
     "dev": "rollup -c -w",
     "lint": "eslint --quiet .*.js src/ test/",
     "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": {
     "start": "static-server dist"
   },
   "devDependencies": {