chore(deps): use @faker-js/faker (#797) [skip ci]

This commit is contained in:
Simon Lecoq
2022-01-21 02:58:22 +01:00
committed by GitHub
parent 877a76be78
commit ce19ceb715
8 changed files with 18 additions and 18 deletions

View File

@@ -41,7 +41,7 @@ https://localhost:{port}/username?base=0&newplugin=1&newplugin.option1=hello&new
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.
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/faker-js/faker) with randomly generated data.
Since tests are pretty long to run, it is advised to just let GitHub Actions do the testing.