message: Add calls count check to renderer test
diff: @@ -61,13 +61,17 @@ describe('renderer', () => {
  });
  it('simple', () => {
  + figma.createRectangle = jest.fn().mockImplementation(figma.createRectangle);
  render(<Rectangle style={{ width: 200, height: 100, backgroundColor: '#12ff00' }} />, figma.root);
  + expect(figma.createRectangle).toHaveBeenCalledTimes(1);
  expect(figma.root).toMatchSnapshot();
  });
  it('simple 2', () => {
  + figma.createRectangle = jest.fn().mockImplementation(figma.createRectangle);
  render(<Rectangle style={{ width: 200, height: 100, backgroundColor: '#12ff00' }} />, figma.root);
  render(<Rectangle style={{ width: 200, height: 100, backgroundColor: '#ff3500' }} />, figma.root);
  + expect(figma.createRectangle).toHaveBeenCalledTimes(1);
  expect(figma.root).toMatchSnapshot();
  });
  });
  