docs(setup/local): update [skip ci]
This commit is contained in:
@@ -35,4 +35,11 @@ For quick testing, it is advised to directly craft URLs, rather than using the w
|
|||||||
*Example: test a new plugin*
|
*Example: test a new plugin*
|
||||||
```shell
|
```shell
|
||||||
https://localhost:{port}/username?base=0&newplugin=1&newplugin.option1=hello&newplugin.option2=world)
|
https://localhost:{port}/username?base=0&newplugin=1&newplugin.option1=hello&newplugin.option2=world)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## *️⃣ Testing changes
|
||||||
|
|
||||||
|
Testing is done through [jest](https://github.com/facebook/jest) framework.
|
||||||
|
|
||||||
|
To avoid consuming APIs requests and causing additional charges on external services, data are [mocked](/tests/mocks/index.mjs) using [JavaScript Proxies](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) and [Faker.js](https://github.com/marak/Faker.js/) with randomly generated data.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user