Created
August 31, 2018 01:28
-
-
Save Horaddrim/d3a1ca987c48e00f0a89f440360e83e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe('Testando a função transformRicksCollectionToFrontEnd', () => { | |
| it('Deve retornar apenas os Ricks com familias', () => { | |
| const dadosParaEsseTeste = [ | |
| dadosParaTeste.rickValido, | |
| dadosParaTeste.rickInvalido, | |
| ] | |
| const resultado = rickManipulationFunctions | |
| .retriveOnlyTheRicksWithFamily(dadosParaEsseTeste); | |
| expect(resultado).to.have.ownProperty('length').and.to.be.equal(1); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment