// ExtratoParticipanteComponent it('should set lastSearch on searchParticipante', () => { const searchValue = '12345678909'; spyOn(component.contratoService, 'getParticipantesContrato').and.returnValue(of([{ nome: 'Teste', cpf: searchValue, matricula: '123456' }])); component.searchParticipante(); console.log('Actual Value:', component.lastSearch); console.log('Expected Value:', searchValue); expect(component.lastSearch).toEqual(searchValue); }); .
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up