ember-cli / ember-cli/ember-cli-test-loader

Loading tests from pods

Aperta
#9 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
10
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.