Skip to content

Commit 73661d3

Browse files
authored
Merge pull request #1964 from ember-learn/remove-mocha
remove references to mocha in the guides
2 parents fa85a5f + 6d5e92d commit 73661d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

guides/release/testing/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ember t -s
3434

3535
When you are working on a single component or page, you will want only a small subset of tests to run after every file change. To specify which tests to run, you can add `--module` or `--filter` option to your command.
3636

37-
The `--module` option allows you to select a **module**—a group of tests that you specified in `module()` in QUnit, or `describe()` in Mocha.
37+
The `--module` option allows you to select a **module**—a group of tests that you specified in `module()` in QUnit.
3838

3939
```bash
4040
# Button component example
@@ -44,7 +44,7 @@ ember test --server --module="Integration | Component | simple-button"
4444
ember t -s -m="Unit | Service | location"
4545
```
4646

47-
The `--filter` option is more versatile. You can provide a phrase to match against the modules and test descriptions. A test description is what appears in `test()` in QUnit, or `it()` in Mocha.
47+
The `--filter` option is more versatile. You can provide a phrase to match against the modules and test descriptions. A test description is what appears in `test()` in QUnit.
4848

4949
```bash
5050
# Button component example
@@ -57,7 +57,7 @@ ember t -s -f="Dashboard"
5757
ember t -s -f="Integration"
5858
```
5959

60-
In QUnit, you can exclude tests by adding an exclamation point to the beginning of the filter, e.g. `ember test --filter="!Acceptance"`. In Mocha, `ember test --filter="Acceptance" --invert`.
60+
In QUnit, you can exclude tests by adding an exclamation point to the beginning of the filter, e.g. `ember test --filter="!Acceptance"`.
6161

6262
To learn more about options for testing, you can visit [Ember CLI Documentation](https://ember-cli.com/testing) or type `ember help test` in the command line.
6363

guides/release/testing/testing-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,6 @@ While we don't recommend this practice in general, you might also use Percy in l
164164

165165
## Summary
166166

167-
Ember provides easy paths to integrate QUnit and Mocha, also it supports a variety of addons and debugging tools to improve your developer experience in testing.
167+
Ember provides easy paths to integrate QUnit and it also supports a variety of addons and debugging tools to improve your developer experience in testing.
168168

169169
In the next section, we will study 3 types of tests that Ember supports—unit, rendering, and application tests. We will look at each type and when you might use one over another.

0 commit comments

Comments
 (0)