Skip to content

Commit d4ebc2a

Browse files
dixsiederick-montague
authored andcommitted
Unit testing docs typo fix
Signed-off-by: Dixsie Wolmers <[email protected]> Change-Id: Id75c6e923682f199440ca8d3fd986f034a8f332b
1 parent b607152 commit d4ebc2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/unit-testing/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The `test:unit:debugger` script will help to debug failing tests using the Chrom
3434
1. Open the Chrome browser and go to `chrome://inspect`
3535

3636
### Fixing failed snapshot tests
37-
The `test:update` script will update snapshot tests. If the UI has changed and the snapshot tests are failing, after manually verifying the UI changes, run the update script to update the snapshots. Running `test:updat`e can be dangerous, as it will update all snapshot tests.
37+
The `test:update` script will update snapshot tests. If the UI has changed and the snapshot tests are failing, after manually verifying the UI changes, run the update script to update the snapshots. Running `test:update` can be dangerous, as it will update all snapshot tests.
3838

3939
It is critical to verify all snapshot tests before running the update script. The easiest way is to run the unit test in watch mode, `npm run test:unit -- --watch` and verify each snapshot.
4040

@@ -103,7 +103,7 @@ Mutations are JavaScript functions that mutate the store state. These are basic
103103
### Testing Store Instance
104104
- Uses mutations and actions as inputs
105105
- State is the output
106-
- Requires the use of `localVue` when creating the store to avoide leaky tests
106+
- Requires the use of `localVue` when creating the store to avoid leaky tests
107107

108108
#### Pros
109109
- Avoids mocking and brittle tests

0 commit comments

Comments
 (0)