Skip to content

Commit 9f74e95

Browse files
committed
README: Add "Usage in Ember addons" section
1 parent da52ce4 commit 9f74e95

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,14 @@ will yield
173173
</button>
174174
```
175175

176+
### Usage in Ember addons
177+
178+
If you want to use ember-test-selectors in an addon make sure that it appears
179+
in the `dependencies` section of the `package.json` file, not in the
180+
`devDependencies`. This ensures that the selectors are also stripped correctly
181+
even if the app that uses the addon does not use ember-test-selectors itself.
182+
183+
176184
Configuration
177185
------------------------------------------------------------------------------
178186

0 commit comments

Comments
 (0)