Skip to content

Commit 41a55d3

Browse files
author
Kelly Selden
authored
simplify instructions using npx
1 parent bcc1908 commit 41a55d3

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ repository like Git and that you have no outstanding changes to commit before
2222
running this tool.
2323

2424
```bash
25-
npm install -g ember-test-helpers-codemod
2625
cd my-ember-app-or-addon
27-
ember-test-helpers-codemod --type=integration tests/integration
28-
ember-test-helpers-codemod --type=acceptance tests/acceptance
29-
ember-test-helpers-codemod --type=native-dom tests
26+
npx ember-test-helpers-codemod --type=integration tests/integration
27+
npx ember-test-helpers-codemod --type=acceptance tests/acceptance
28+
npx ember-test-helpers-codemod --type=native-dom tests
3029
```
3130

3231
## Transformations
@@ -121,4 +120,4 @@ jscodeshift -t path/to/ember-test-helpers-codemod/lib/transforms/find.js tests
121120

122121
Note that this will require all instances of `find`/`findAll` to have the correct `this` context, otherwise you will run
123122
into `Cannot read property 'querySelector' of undefined` exceptions, as `this.element` will not be defined. This can
124-
happen outside of the main `test` function, for example inside of custom test helper functions.
123+
happen outside of the main `test` function, for example inside of custom test helper functions.

0 commit comments

Comments
 (0)