X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/726c5a6d2c54f94714fa71cbd0d085f6fe537846..8f64f10b1c65b0fce8dfb7577e310b81ce79215c:/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`) ```