diff --git a/.github/readme/partials/documentation/setup/local.md b/.github/readme/partials/documentation/setup/local.md index 0a22e26b..b88e126a 100644 --- a/.github/readme/partials/documentation/setup/local.md +++ b/.github/readme/partials/documentation/setup/local.md @@ -35,4 +35,11 @@ For quick testing, it is advised to directly craft URLs, rather than using the w *Example: test a new plugin* ```shell https://localhost:{port}/username?base=0&newplugin=1&newplugin.option1=hello&newplugin.option2=world) -``` \ No newline at end of file +``` + +## *️⃣ 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. +