FamilySearch
@tylergraf
Assumption: You know React and Jest
Search: "Veritasium visual learner"
it('should show the button', ()=>{
cy.visit('https://www.familysearch.org')
cy.contains('FamilySearch').should('be.visible')
})import Header from './Header'
it('should show the button', ()=>{
cy.mount(<Header />)
cy.contains('FamilySearch').should('be.visible')
})| Jest | Cypress | |
|---|---|---|
| Mocking | Module | Network only |
| Debugging | node-debugger | in-browser |
| Display | dom output | Fully rendered in browser |