Como testar o uso de uso em brincadeira
const historyMock = { push: jest.fn(), location: {}, listen: jest.fn() };
Plain Pigeon
const historyMock = { push: jest.fn(), location: {}, listen: jest.fn() };