@@ -28,7+28,7 @@ Svelte. Version 3 added theme and easier configuration.
```
yarn dev
```
```
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
whenever you edit files. Configuration in `rollup.config.js`.
## Testing
@@ -36,7+36,7 @@ Svelte. Version 3 added theme and easier configuration.
The `test/` setup uses [Mocha](https://mochajs.org/) to run tests. Tests use [Puppeteer](https://pptr.dev/) to control a Google Chrome headless browser and evaluate with [Assert](https://nodejs.org/api/assert.html).
The `test/` setup uses [Mocha](https://mochajs.org/) to run tests. Tests use [Puppeteer](https://pptr.dev/) to control a Google Chrome headless browser and evaluate with [Assert](https://nodejs.org/api/assert.html).
-* Run integration test suite (configuration in `.mocharc.js`)
+* Run integration test suite (configuration in `.mocharc.json`)
```
yarn test
```
yarn test
@@ -47,7+47,13 @@ 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.
port. That's a rare setup but something https://nominatim.openstreetmap.org/ does
so worth testing.
-* Run syntax linter (configuration in `.eslint.js`)
+ To run a single test file only
+
+ ```
+ yarn run rollup -c && yarn run mocha test/details.js
+ ```
+
+* Run syntax linter (configuration in `.eslint.json`)
```
yarn lint
```
yarn lint
@@ -60,7+66,7 @@ The `test/` setup uses [Mocha](https://mochajs.org/) to run tests. Tests use [Pu