From a6f53e5505495855603b026200a3a2d2efbe2663 Mon Sep 17 00:00:00 2001 From: soufyakoub Date: Thu, 4 Mar 2021 00:12:31 +0100 Subject: [PATCH] docs(readme): mention test:update and test:update:warn npm scripts --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d22f9ca..3c7874d 100644 --- a/README.md +++ b/README.md @@ -104,9 +104,21 @@ npm run test:warn ``` Coverage report is located in `tests/coverage`. -you might want to review it in your browser, and for example, +You might want to review it in your browser, and for example, write tests for non-covered blocks, or remove them if they're useless. +To run tests and update snapshots: + +```sh +npm run test:update +``` + +or (with rollup warnings): + +```sh +npm run test:update:warn +``` + ### Commiting changes Please follow the [conventional commits][5] specification, because [semantic-release][6] is used to automate the whole package release workflow including: determining the next version number, generating the release notes and publishing the package.