From d55341405173321fd1801a86c1520839dbdbb92c Mon Sep 17 00:00:00 2001 From: Ian Moroney <10791260+IanMoroney@users.noreply.github.com> Date: Mon, 14 Feb 2022 15:07:15 +0000 Subject: [PATCH] Update README.md updated Junit to lowercase junit. If the reporter is used as "jest-Junit" in a linux build agent, the test runner throws a `module not found` error related to Junit. Setting `--reporters=jest-junit` solves the problem. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a2d2d4a0..6a018457 100644 --- a/README.md +++ b/README.md @@ -256,14 +256,14 @@ Some heuristic was necessary to figure out the mapping between the line in the s
- jest-Junit + jest-junit -[JEST](https://jestjs.io/) testing framework support requires the usage of [jest-Junit](https://github.com/jest-community/jest-Junit) reporter. +[JEST](https://jestjs.io/) testing framework support requires the usage of [jest-junit](https://github.com/jest-community/jest-junit) reporter. It will create test results in Junit XML format which can be then processed by this action. You can use the following example configuration in `package.json`: ```json "scripts": { - "test": "jest --ci --reporters=default --reporters=jest-Junit" + "test": "jest --ci --reporters=default --reporters=jest-junit" }, "devDependencies": { "jest": "^26.5.3",