File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,11 +22,10 @@ repository like Git and that you have no outstanding changes to commit before
2222running this tool.
2323
2424``` bash
25- npm install -g ember-test-helpers-codemod
2625cd 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
122121Note that this will require all instances of ` find ` /` findAll ` to have the correct ` this ` context, otherwise you will run
123122into ` 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.
You can’t perform that action at this time.
0 commit comments