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

Loading tests from pods

オープン
#9 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
10
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。