Skip to content

Conversation

@camilamaejima
Copy link

O projeto está atualizado a partir da análise da pull Request feita no projeto do José Augusto.

test('dá erro quando não enviar parametro', (done) => {
calendarioUtil
.ehGolf()
.ehGolf(null)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Não mexer no teste :)
(Eu sei que fui eu que coloquei isso aqui, mas é importante revisar o próprio código antes de envia-lo)


function upperCase (pessoas) {
return pessoas.map(pessoa => pessoa.toUpperCase(nome));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eu acho que isso aqui não funciona....


function alunos(pessoas) {

return pessoas.map((pessoa) => { return{ primeiroNome: pessoa.nome, notaFinal: pessoa.nota };});
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identação é uma coisa importante. Nesse caso ficou confuso de ver isso.

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.

2 participants