Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Era pra ser uma PR do Scaffolding, mas acabei corrigindo o roteador também. #33

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

leonelsanchesdasilva
Copy link
Contributor

  • Simplificando o roteador;
  • Lógica para entender uma variável de caminho na rota (req.params no Express);
  • Separação de rotas geradas por modelo entre rotas com id e rotas sem id.

Copy link

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
67.4% (+12.39% 🔼)
308/457
🔴 Branches 50.38% 67/133
🟡 Functions
70.51% (+15.51% 🔼)
55/78
🟡 Lines
66.82% (+12.57% 🔼)
298/446
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / metodo-roteador.ts
100% 100% 100% 100%
🟡
... / roteador.ts
76.11% 51.52% 80% 76.79%

Test suite run success

56 tests passing in 11 suites.

Report generated by 🧪jest coverage report action from 92ae9ce

@leonelsanchesdasilva leonelsanchesdasilva merged commit 1200939 into principal Jan 15, 2024
2 checks passed
@leonelsanchesdasilva leonelsanchesdasilva deleted the mvc-scaffolding-views-3 branch January 15, 2024 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants