devhatt / pet-dex-frontend

31 stars 43 forks source link

test: add button tests #212

Closed alvarogfn closed 1 month ago

alvarogfn commented 1 month ago

Closes #223

Adicionei um setup de testes e adicionei testes para o botão

github-actions[bot] commented 1 month ago

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 32.3% (🎯 30%) 860 / 2662
🟢 Statements 32.3% (🎯 30%) 860 / 2662
🟢 Functions 34.66% (🎯 30%) 52 / 150
🟢 Branches 67.21% (🎯 30%) 82 / 122
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/__tests__/index.js 100% 100% 100% 100%
src/components/Button/index.js 97.46% 100% 81.81% 97.46% 38, 47
src/components/Card/index.js 0% 0% 0% 0% 1-36
src/components/TextInput/index.js 45.97% 100% 0% 45.97% 20-45, 49-50, 53-54, 57-58, 61-62, 65-66, 69-70, 73-74, 77-78, 81-85
Generated in workflow #25