code-corps / code-corps/code-corps-ember

Write tests for components/payments/contact-info.js

未關閉
#867 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。