Well done!

You have completed Before and After!

Quiz Question 1 of 4

How many times would the code in the afterEach block below run?

describe(‘unit testing’, function () {
  afterEach(function () {
    console.log(‘finished’);
  });
  it(‘makes us better developers’, function () {});
  it(‘makes our code more reliable’, function () {});
});

Choose the correct answer below:

Skip Quiz Review Video