]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - CONTRIBUTE.md
Fix static-server default port in contribution guide
[nominatim-ui.git] / CONTRIBUTE.md
index 9c184e462d7c2e7b73f2676d29a5ac97de95b364..c9b7b9cf6fc253f20de56db95d8ce448c4cbdf3c 100644 (file)
@@ -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`)
 
    ```