diff options
Diffstat (limited to 'frontend/jest.setup.js')
| -rw-r--r-- | frontend/jest.setup.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/frontend/jest.setup.js b/frontend/jest.setup.js index ad01898..82edfc9 100644 --- a/frontend/jest.setup.js +++ b/frontend/jest.setup.js @@ -2,16 +2,3 @@ import { configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; configure({ adapter: new Adapter() }); - -expect.extend({ - toHaveBeenCalledWithVariables(received, argument) { - const receivedVariables = received.mock.calls[0][0].variables; - const pass = this.equals(receivedVariables, argument); - const message = () => - `expected ${this.utils.printExpected(argument)} - -to match ${this.utils.printReceived(receivedVariables)}`; - - return { message, pass }; - }, -}); |
