From e018f5482e550a49535f4df990d3bfc09128f5d8 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Thu, 19 Apr 2018 13:29:25 -0400 Subject: Add to cart tests --- frontend/jest.setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/jest.setup.js') diff --git a/frontend/jest.setup.js b/frontend/jest.setup.js index c3fa88e..ad01898 100644 --- a/frontend/jest.setup.js +++ b/frontend/jest.setup.js @@ -4,7 +4,7 @@ import Adapter from 'enzyme-adapter-react-16'; configure({ adapter: new Adapter() }); expect.extend({ - toBeCalledWithVariables(received, argument) { + toHaveBeenCalledWithVariables(received, argument) { const receivedVariables = received.mock.calls[0][0].variables; const pass = this.equals(receivedVariables, argument); const message = () => -- cgit v1.3