From b07341a1f7de4dc4c8d5b43f79a2e5f35afd23a0 Mon Sep 17 00:00:00 2001 From: Brian Donovan Date: Mon, 16 Mar 2015 08:45:05 -0700 Subject: [PATCH] Add a note about using the `--grep` option to focus test runs. --- CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a77bfaceab..615a5bf423 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,6 +40,12 @@ running them with `mocha`: $ mocha test/transformation.js ``` +Use mocha's `--grep` option to run a subset of tests by name: + +```sh +$ mocha test/transformation.js --grep es7 +``` + #### Workflow * Fork the repository