How can I create a simple test suite?

const earth = { round: true }
const globe = { round: true }

describe('earth', () => {
  it('is round', () => {
    expect(earth.round).toBe(true)
    expect(earth).not.toBe(globe)
    expect(earth).toEqual(globe)    
  })
})

Last updated

Was this helpful?