From 0ea53036e57a89feb4197d2107f8cc2291d390b5 Mon Sep 17 00:00:00 2001 From: Dan Dascalescu Date: Sun, 11 Jun 2017 18:37:51 -0700 Subject: [PATCH 1/2] Format `describe` and use `test` instead of `it` alias --- docs/en/CLI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/CLI.md b/docs/en/CLI.md index 2fdb92dd2975..2258da642f22 100644 --- a/docs/en/CLI.md +++ b/docs/en/CLI.md @@ -35,7 +35,7 @@ Run tests related to `path/to/fileA.js` and `path/to/fileB.js`: jest --findRelatedTests path/to/fileA.js path/to/fileB.js ``` -Run tests that match this spec name (match against the name in describe and it, basically). +Run tests that match this spec name (match against the name in `describe` and `test`, basically). ```bash jest -t name-of-spec ``` From c9c49c0e1f012ed689736c2ac1c49cc3e04a8591 Mon Sep 17 00:00:00 2001 From: Dan Dascalescu Date: Mon, 12 Jun 2017 02:02:56 -0700 Subject: [PATCH 2/2] describe OR it --- docs/en/CLI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/CLI.md b/docs/en/CLI.md index 2258da642f22..d07d44845daf 100644 --- a/docs/en/CLI.md +++ b/docs/en/CLI.md @@ -35,7 +35,7 @@ Run tests related to `path/to/fileA.js` and `path/to/fileB.js`: jest --findRelatedTests path/to/fileA.js path/to/fileB.js ``` -Run tests that match this spec name (match against the name in `describe` and `test`, basically). +Run tests that match this spec name (match against the name in `describe` or `test`, basically). ```bash jest -t name-of-spec ```