text2jest
describe('the Amazing component', () => {
  beforeAll(() => {
    //
  });

  afterAll(() => {
    //
  });

  test('displays an image', () => {
    //
  });

  test('displays a user avatar', () => {
    //
  });

  describe('when the user is an administrator', () => {
    test('displays a settings button', () => {
      //
    });
  });

  describe('when the user is a guest', () => {
    test('loads and displays a welcome message', async () => {
      //
    });
  });
});
No ads or cookies here. A Jon Combe invention.