From e1c547716436151ad200b4a9f413f278aa543edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Smestad?= Date: Tue, 13 Oct 2020 10:53:34 +0200 Subject: [PATCH] Improve docs on how to get the test result details reported Add needed `jest` flag to Readme example --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f76c63b..64807ee 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,11 @@ Then just run jest and it will test errors PRs! ``` ```sh -jest file.js +jest --testLocationInResults file.js ``` +(The `--testLocationInResults` flag is needed to get the in-file checks/annotations, otherwise only the summary comment is shown.) + ## Using your own GitHub App You might not want to use our github app for the formatter.