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

Loading tests from pods

Ouverte
#9 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
10
Forks
20
Métriques de merge des PR
Aucune PR mergée en 30 j

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.