Loading tests from pods
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
Research direction
Start by reproducing the issue with tests under /app/modules/module1/tests and /app/modules/module2/tests, then inspect how Ember test helpers such as visit, click, and find are loaded and linted. Done means pod-specific tests load successfully and linting recognizes the helpers without undefined-function errors.
Written by the indexing model from the issue text.
Description
I'd like to keep pod specific tests within pods. Eg /app/modules/module1/tests /app/modules/module2/tests
There is a problem with the ember test helpers eg. visit, click, find etc..
They're working well but linting fails reporting the functions are not defined.
I've tried adding .jshintrc to the pod eg. /app/modules/module1/tests/.jshintrc
I've tried importing the test helpers into tests manually eg. import { find, click, etc.. } from 'ember/different-places'
None of these works.
Am I missing something or is it completely not supported?
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ember-cli/ember-cli-test-loader
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ember-cli/ember-cli-test-loader#23 · 2 comments ·
-
README update please Open
Difficulty 3/5 1-2 days Newbie friendliness 32/100
ember-cli/ember-cli-test-loader#21 · 2 comments ·
All issues in ember-cli/ember-cli-test-loader
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·