diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-04-19 13:29:25 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-04-19 13:29:25 -0400 |
| commit | e018f5482e550a49535f4df990d3bfc09128f5d8 (patch) | |
| tree | d8058ac92f68a487c985553cff26650f040cdd11 /frontend/jest.setup.js | |
| parent | e91740e812080fafa058b13b63218eeda4449135 (diff) | |
Add to cart tests
Diffstat (limited to 'frontend/jest.setup.js')
| -rw-r--r-- | frontend/jest.setup.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = () => |
