我想測試我的組件。我沒有使用ember-cli.I遵循了在餘燼指南中給出的內容。但是this.subject()方法未定義。 另外,我有以下錯誤測試Ember組件時出錯
setUp failed on <test-case-name> : assert.async is not a function
Died on test #2 : this.render is not a function
TearDown Failed on <test-case-name> : assert.async is not a function
我沒有使用任何異步功能。在我的測試案例中,我只寫了一行this.render()。
由於事先 KUKA
2.0指南使用了ember-cli。 –