Answers for "assertion error in jest"

0

assertion error in jest

const can = {
  name: 'pamplemousse',
  ounces: 12,
};

describe('the can', () => {
  test('has 12 ounces', () => {
    expect(can.ounces).toBe(12);
  });

  test('has a sophisticated name', () => {
    expect(can.name).toBe('pamplemousse');
  });
});
Posted by: Guest on April-11-2022

Code answers related to "assertion error in jest"

Code answers related to "Javascript"

Browse Popular Code Answers by Language