X-Git-Url: https://git.openstreetmap.org/nominatim-ui.git/blobdiff_plain/f5a4f0a5e1d87a05014292b91f416c2e6e7827e3..593bd58b6bb2d839314bbf4a591df6778f6fda02:/CONTRIBUTE.md diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md index 9c184e4..c9b7b9c 100644 --- a/CONTRIBUTE.md +++ b/CONTRIBUTE.md @@ -28,7 +28,7 @@ Svelte. Version 3 added theme and easier configuration. ``` yarn dev ``` - which will start a webserver on port 9880 and auto-reloads + which will start a webserver on port 9080 and auto-reloads whenever you edit files. Configuration in `rollup.config.js`. ## Testing @@ -47,6 +47,12 @@ The `test/` setup uses [Mocha](https://mochajs.org/) to run tests. Tests use [Pu port. That's a rare setup but something https://nominatim.openstreetmap.org/ does so worth testing. + To run a single test file only + + ``` + yarn run rollup -c && yarn run mocha test/details.js + ``` + * Run syntax linter (configuration in `.eslint.js`) ```