From 02ba9c170f51daaf06d256e44aa7ceb005d18de7 Mon Sep 17 00:00:00 2001 From: Gary King Date: Fri, 6 Sep 2019 14:50:55 -0400 Subject: [PATCH] jest: use the long name of commands --- pages/common/jest.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/jest.md b/pages/common/jest.md index 2bb7251a2..e29022c81 100644 --- a/pages/common/jest.md +++ b/pages/common/jest.md @@ -13,11 +13,11 @@ - Run tests whose names match the regex pattern: -`jest -t {{spec_name}}` +`jest --testNamePattern {{spec_name}}` - Run tests related to uncommitted files: -`jest -o` +`jest --onlyChanged` - Watch files for changes and re-run related tests: