code-corps / code-corps/code-corps-ember
Write tests for components/payments/contact-info.js
未關閉
Difficulty: Easy
Skill: ember-cli-qunit
Skill: Ember.js
Skill: JavaScript
Skill: Testing
- 主要語言
- JavaScript
- 星號
- 120
- 分支
- 75
- PR 合併指標
- 30 天內沒有已合併 PR
描述
# Problem
We need tests for the `components/payments/contact-info.js`.
This would simply test that the email renders correctly with the right state depending on whether the email is verified (not built in the API yet, but would be on the `user` model).
貢獻指南
研究方向
從 components/payments/contact-info.js 開始,檢查元件現有的呈現與狀態行為。使用規劃中的使用者模型狀態,新增涵蓋使用者電子郵件已驗證與未驗證情況的測試;當 API 支援可用後,兩種狀態都有明確的預期時即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- frontend, testing
- Issue 類型
- 重構
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100