module.exports["toBeCalled works only on spies or mock.fn"] = `expect(received).toBeCalled() Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["toBeCalled passes when called"] = `expect(jest.fn()).not.toBeCalled() Expected number of calls: 0 Received number of calls: 1 1: "arg0", "arg1", "arg2"`; module.exports["toBeCalled .not passes when called"] = `expect(spy).toBeCalled() Expected number of calls: >= 1 Received number of calls: 0`; module.exports["toBeCalled fails with any argument passed"] = `expect(received).toBeCalled() Matcher error: this matcher must not have an expected argument Expected has type: number Expected has value: 555`; module.exports["toBeCalled .not fails with any argument passed"] = `expect(received).not.toBeCalled() Matcher error: this matcher must not have an expected argument Expected has type: number Expected has value: 555`; module.exports["toBeCalled includes the custom mock name in the error message"] = `expect(named-mock).not.toBeCalled() Expected number of calls: 0 Received number of calls: 1 1: called with 0 arguments`; module.exports["toHaveBeenCalled works only on spies or mock.fn"] = `expect(received).toHaveBeenCalled() Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["toHaveBeenCalled passes when called"] = `expect(jest.fn()).not.toHaveBeenCalled() Expected number of calls: 0 Received number of calls: 1 1: "arg0", "arg1", "arg2"`; module.exports["toHaveBeenCalled .not passes when called"] = `expect(spy).toHaveBeenCalled() Expected number of calls: >= 1 Received number of calls: 0`; module.exports["toHaveBeenCalled fails with any argument passed"] = `expect(received).toHaveBeenCalled() Matcher error: this matcher must not have an expected argument Expected has type: number Expected has value: 555`; module.exports["toHaveBeenCalled .not fails with any argument passed"] = `expect(received).not.toHaveBeenCalled() Matcher error: this matcher must not have an expected argument Expected has type: number Expected has value: 555`; module.exports["toHaveBeenCalled includes the custom mock name in the error message"] = `expect(named-mock).not.toHaveBeenCalled() Expected number of calls: 0 Received number of calls: 1 1: called with 0 arguments`; module.exports["toBeCalledTimes .not works only on spies or mock.fn"] = `expect(received).not.toBeCalledTimes(expected) Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["toBeCalledTimes only accepts a number argument"] = `expect(received).toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: object Expected has value: {}`; module.exports["toBeCalledTimes only accepts a number argument #1"] = `expect(received).toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: array Expected has value: []`; module.exports["toBeCalledTimes only accepts a number argument #2"] = `expect(received).toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: boolean Expected has value: true`; module.exports["toBeCalledTimes only accepts a number argument #3"] = `expect(received).toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: string Expected has value: "a"`; module.exports["toBeCalledTimes only accepts a number argument #4"] = `expect(received).toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: map Expected has value: Map {}`; module.exports["toBeCalledTimes only accepts a number argument #5"] = `expect(received).toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: function Expected has value: [Function anonymous]`; module.exports["toBeCalledTimes .not only accepts a number argument"] = `expect(received).not.toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: object Expected has value: {}`; module.exports["toBeCalledTimes .not only accepts a number argument #1"] = `expect(received).not.toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: array Expected has value: []`; module.exports["toBeCalledTimes .not only accepts a number argument #2"] = `expect(received).not.toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: boolean Expected has value: true`; module.exports["toBeCalledTimes .not only accepts a number argument #3"] = `expect(received).not.toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: string Expected has value: "a"`; module.exports["toBeCalledTimes .not only accepts a number argument #4"] = `expect(received).not.toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: map Expected has value: Map {}`; module.exports["toBeCalledTimes .not only accepts a number argument #5"] = `expect(received).not.toBeCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: function Expected has value: [Function anonymous]`; module.exports["toBeCalledTimes passes if function called equal to expected times"] = `expect(spy).not.toBeCalledTimes(expected) Expected number of calls: not 2`; module.exports["toBeCalledTimes .not passes if function called more than expected times"] = `expect(jest.fn()).toBeCalledTimes(expected) Expected number of calls: 2 Received number of calls: 3`; module.exports["toBeCalledTimes .not passes if function called less than expected times"] = `expect(jest.fn()).toBeCalledTimes(expected) Expected number of calls: 2 Received number of calls: 1`; module.exports["toBeCalledTimes includes the custom mock name in the error message"] = `expect(named-mock).toBeCalledTimes(expected) Expected number of calls: 2 Received number of calls: 1`; module.exports["toHaveBeenCalledTimes .not works only on spies or mock.fn"] = `expect(received).not.toHaveBeenCalledTimes(expected) Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["toHaveBeenCalledTimes only accepts a number argument"] = `expect(received).toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: object Expected has value: {}`; module.exports["toHaveBeenCalledTimes only accepts a number argument #1"] = `expect(received).toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: array Expected has value: []`; module.exports["toHaveBeenCalledTimes only accepts a number argument #2"] = `expect(received).toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: boolean Expected has value: true`; module.exports["toHaveBeenCalledTimes only accepts a number argument #3"] = `expect(received).toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: string Expected has value: "a"`; module.exports["toHaveBeenCalledTimes only accepts a number argument #4"] = `expect(received).toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: map Expected has value: Map {}`; module.exports["toHaveBeenCalledTimes only accepts a number argument #5"] = `expect(received).toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: function Expected has value: [Function anonymous]`; module.exports["toHaveBeenCalledTimes .not only accepts a number argument"] = `expect(received).not.toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: object Expected has value: {}`; module.exports["toHaveBeenCalledTimes .not only accepts a number argument #1"] = `expect(received).not.toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: array Expected has value: []`; module.exports["toHaveBeenCalledTimes .not only accepts a number argument #2"] = `expect(received).not.toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: boolean Expected has value: true`; module.exports["toHaveBeenCalledTimes .not only accepts a number argument #3"] = `expect(received).not.toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: string Expected has value: "a"`; module.exports["toHaveBeenCalledTimes .not only accepts a number argument #4"] = `expect(received).not.toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: map Expected has value: Map {}`; module.exports["toHaveBeenCalledTimes .not only accepts a number argument #5"] = `expect(received).not.toHaveBeenCalledTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: function Expected has value: [Function anonymous]`; module.exports["toHaveBeenCalledTimes passes if function called equal to expected times"] = `expect(spy).not.toHaveBeenCalledTimes(expected) Expected number of calls: not 2`; module.exports["toHaveBeenCalledTimes .not passes if function called more than expected times"] = `expect(jest.fn()).toHaveBeenCalledTimes(expected) Expected number of calls: 2 Received number of calls: 3`; module.exports["toHaveBeenCalledTimes .not passes if function called less than expected times"] = `expect(jest.fn()).toHaveBeenCalledTimes(expected) Expected number of calls: 2 Received number of calls: 1`; module.exports["toHaveBeenCalledTimes includes the custom mock name in the error message"] = `expect(named-mock).toHaveBeenCalledTimes(expected) Expected number of calls: 2 Received number of calls: 1`; module.exports["lastCalledWith works only on spies or mock.fn"] = `expect(received).lastCalledWith(...expected) Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["lastCalledWith works when not called"] = `expect(jest.fn()).lastCalledWith(...expected) Expected: "foo", "bar" Number of calls: 0`; module.exports["lastCalledWith works with arguments that don't match"] = `expect(jest.fn()).lastCalledWith(...expected) Expected: "foo", "bar" Received: "foo", "bar1" Number of calls: 1`; module.exports["lastCalledWith works with arguments that don't match in number of arguments"] = `expect(jest.fn()).lastCalledWith(...expected) Expected: "foo", "bar" Received: "foo", "bar", "plop" Number of calls: 1`; module.exports["lastCalledWith works with arguments that don't match with matchers"] = `expect(jest.fn()).lastCalledWith(...expected) Expected: Any, Any Received: "foo", "bar" Number of calls: 1`; module.exports["lastCalledWith works with arguments that don't match with matchers even when argument is undefined"] = `expect(jest.fn()).lastCalledWith(...expected) Expected: "foo", Any Received: "foo", undefined Number of calls: 1`; module.exports["lastCalledWith works with arguments that don't match in size even if one is an optional matcher"] = `expect(jest.fn()).lastCalledWith(...expected) Expected: "foo", optionalFn<> Received: "foo" Number of calls: 1`; module.exports["lastCalledWith works with arguments that match"] = `expect(jest.fn()).not.lastCalledWith(...expected) Expected: not "foo", "bar" Number of calls: 1`; module.exports["lastCalledWith works with arguments that match with matchers"] = `expect(jest.fn()).not.lastCalledWith(...expected) Expected: not Any, Any Received: 0, ["foo", "bar"] Number of calls: 1`; module.exports["lastCalledWith works with trailing undefined arguments"] = `expect(jest.fn()).lastCalledWith(...expected) Expected: "foo" Received: "foo", undefined Number of calls: 1`; module.exports["lastCalledWith works with trailing undefined arguments if requested by the match query"] = `expect(jest.fn()).not.lastCalledWith(...expected) Expected: not "foo", undefined Number of calls: 1`; module.exports["lastCalledWith works with trailing undefined arguments when explicitly requested as optional by matcher"] = `expect(jest.fn()).not.lastCalledWith(...expected) Expected: not "foo", optionalFn<> Received: 0, ["foo", undefined] Number of calls: 1`; module.exports["lastCalledWith works with Map"] = `expect(jest.fn()).not.lastCalledWith(...expected) Expected: not Map {1 => 2, 2 => 1} Number of calls: 1`; module.exports["lastCalledWith works with Map #1"] = `expect(jest.fn()).lastCalledWith(...expected) - Expected + Received Map { - "a" => "b", - "b" => "a", + 1 => 2, + 2 => 1, }, Number of calls: 1`; module.exports["lastCalledWith works with Set"] = `expect(jest.fn()).not.lastCalledWith(...expected) Expected: not Set {1, 2} Number of calls: 1`; module.exports["lastCalledWith works with Set #1"] = `expect(jest.fn()).lastCalledWith(...expected) - Expected + Received Set { - 3, - 4, + 1, + 2, }, Number of calls: 1`; module.exports["lastCalledWith works with Immutable.js objects"] = `expect(jest.fn()).not.lastCalledWith(...expected) Expected: not Immutable.Map {"a": {"b": "c"}}, Immutable.Map {"a": {"b": "c"}} Number of calls: 1`; module.exports["lastCalledWith works with many arguments"] = `expect(jest.fn()).not.lastCalledWith(...expected) Expected: not "foo", "bar" Received 2: "foo", "bar1" -> 3: "foo", "bar" Number of calls: 3`; module.exports["lastCalledWith works with many arguments that don't match"] = `expect(jest.fn()).lastCalledWith(...expected) Expected: "foo", "bar" Received 2: "foo", "bar2" -> 3: "foo", "bar3" Number of calls: 3`; module.exports["lastCalledWith includes the custom mock name in the error message"] = `expect(named-mock).not.lastCalledWith(...expected) Expected: not "foo", "bar" Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works only on spies or mock.fn"] = `expect(received).toHaveBeenLastCalledWith(...expected) Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["toHaveBeenLastCalledWith works when not called"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: "foo", "bar" Number of calls: 0`; module.exports["toHaveBeenLastCalledWith works with arguments that don't match"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: "foo", "bar" Received: "foo", "bar1" Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with arguments that don't match in number of arguments"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: "foo", "bar" Received: "foo", "bar", "plop" Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with arguments that don't match with matchers"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: Any, Any Received: "foo", "bar" Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with arguments that don't match with matchers even when argument is undefined"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: "foo", Any Received: "foo", undefined Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with arguments that don't match in size even if one is an optional matcher"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: "foo", optionalFn<> Received: "foo" Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with arguments that match"] = `expect(jest.fn()).not.toHaveBeenLastCalledWith(...expected) Expected: not "foo", "bar" Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with arguments that match with matchers"] = `expect(jest.fn()).not.toHaveBeenLastCalledWith(...expected) Expected: not Any, Any Received: 0, ["foo", "bar"] Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with trailing undefined arguments"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: "foo" Received: "foo", undefined Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with trailing undefined arguments if requested by the match query"] = `expect(jest.fn()).not.toHaveBeenLastCalledWith(...expected) Expected: not "foo", undefined Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with trailing undefined arguments when explicitly requested as optional by matcher"] = `expect(jest.fn()).not.toHaveBeenLastCalledWith(...expected) Expected: not "foo", optionalFn<> Received: 0, ["foo", undefined] Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with Map"] = `expect(jest.fn()).not.toHaveBeenLastCalledWith(...expected) Expected: not Map {1 => 2, 2 => 1} Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with Map #1"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) - Expected + Received Map { - "a" => "b", - "b" => "a", + 1 => 2, + 2 => 1, }, Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with Set"] = `expect(jest.fn()).not.toHaveBeenLastCalledWith(...expected) Expected: not Set {1, 2} Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with Set #1"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) - Expected + Received Set { - 3, - 4, + 1, + 2, }, Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with Immutable.js objects"] = `expect(jest.fn()).not.toHaveBeenLastCalledWith(...expected) Expected: not Immutable.Map {"a": {"b": "c"}}, Immutable.Map {"a": {"b": "c"}} Number of calls: 1`; module.exports["toHaveBeenLastCalledWith works with many arguments"] = `expect(jest.fn()).not.toHaveBeenLastCalledWith(...expected) Expected: not "foo", "bar" Received 2: "foo", "bar1" -> 3: "foo", "bar" Number of calls: 3`; module.exports["toHaveBeenLastCalledWith works with many arguments that don't match"] = `expect(jest.fn()).toHaveBeenLastCalledWith(...expected) Expected: "foo", "bar" Received 2: "foo", "bar2" -> 3: "foo", "bar3" Number of calls: 3`; module.exports["toHaveBeenLastCalledWith includes the custom mock name in the error message"] = `expect(named-mock).not.toHaveBeenLastCalledWith(...expected) Expected: not "foo", "bar" Number of calls: 1`; module.exports["nthCalledWith works only on spies or mock.fn"] = `expect(received).nthCalledWith(n, ...expected) Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["nthCalledWith works when not called"] = `expect(jest.fn()).nthCalledWith(n, ...expected) n: 1 Expected: "foo", "bar" Number of calls: 0`; module.exports["nthCalledWith works with arguments that don't match"] = `expect(jest.fn()).nthCalledWith(n, ...expected) n: 1 Expected: "foo", "bar" Received: "foo", "bar1" Number of calls: 1`; module.exports["nthCalledWith works with arguments that don't match in number of arguments"] = `expect(jest.fn()).nthCalledWith(n, ...expected) n: 1 Expected: "foo", "bar" Received: "foo", "bar", "plop" Number of calls: 1`; module.exports["nthCalledWith works with arguments that don't match with matchers"] = `expect(jest.fn()).nthCalledWith(n, ...expected) n: 1 Expected: Any, Any Received: "foo", "bar" Number of calls: 1`; module.exports["nthCalledWith works with arguments that don't match with matchers even when argument is undefined"] = `expect(jest.fn()).nthCalledWith(n, ...expected) n: 1 Expected: "foo", Any Received: "foo", undefined Number of calls: 1`; module.exports["nthCalledWith works with arguments that don't match in size even if one is an optional matcher"] = `expect(jest.fn()).nthCalledWith(n, ...expected) n: 1 Expected: "foo", optionalFn<> Received: "foo" Number of calls: 1`; module.exports["nthCalledWith works with arguments that match"] = `expect(jest.fn()).not.nthCalledWith(n, ...expected) n: 1 Expected: not "foo", "bar" Number of calls: 1`; module.exports["nthCalledWith works with arguments that match with matchers"] = `expect(jest.fn()).not.nthCalledWith(n, ...expected) n: 1 Expected: not Any, Any Received: 0, ["foo", "bar"] Number of calls: 1`; module.exports["nthCalledWith works with trailing undefined arguments"] = `expect(jest.fn()).nthCalledWith(n, ...expected) n: 1 Expected: "foo" Received: "foo", undefined Number of calls: 1`; module.exports["nthCalledWith works with trailing undefined arguments if requested by the match query"] = `expect(jest.fn()).not.nthCalledWith(n, ...expected) n: 1 Expected: not "foo", undefined Number of calls: 1`; module.exports["nthCalledWith works with trailing undefined arguments when explicitly requested as optional by matcher"] = `expect(jest.fn()).not.nthCalledWith(n, ...expected) n: 1 Expected: not "foo", optionalFn<> Received: 0, ["foo", undefined] Number of calls: 1`; module.exports["nthCalledWith works with Map"] = `expect(jest.fn()).not.nthCalledWith(n, ...expected) n: 1 Expected: not Map {1 => 2, 2 => 1} Number of calls: 1`; module.exports["nthCalledWith works with Map #1"] = `expect(jest.fn()).nthCalledWith(n, ...expected) n: 1 - Expected + Received Map { - "a" => "b", - "b" => "a", + 1 => 2, + 2 => 1, }, Number of calls: 1`; module.exports["nthCalledWith works with Set"] = `expect(jest.fn()).not.nthCalledWith(n, ...expected) n: 1 Expected: not Set {1, 2} Number of calls: 1`; module.exports["nthCalledWith works with Set #1"] = `expect(jest.fn()).nthCalledWith(n, ...expected) n: 1 - Expected + Received Set { - 3, - 4, + 1, + 2, }, Number of calls: 1`; module.exports["nthCalledWith works with Immutable.js objects"] = `expect(jest.fn()).not.nthCalledWith(n, ...expected) n: 1 Expected: not Immutable.Map {"a": {"b": "c"}}, Immutable.Map {"a": {"b": "c"}} Number of calls: 1`; module.exports["nthCalledWith works with three calls"] = `expect(jest.fn()).not.nthCalledWith(n, ...expected) n: 1 Expected: not "foo1", "bar" Received -> 1: "foo1", "bar" 2: "foo", "bar1" Number of calls: 3`; module.exports["nthCalledWith positive throw matcher error for n that is not positive integer"] = `expect(received).nthCalledWith(n, ...expected) Matcher error: n must be a positive integer n has type: number n has value: 0`; module.exports["nthCalledWith positive throw matcher error for n that is not integer"] = `expect(received).nthCalledWith(n, ...expected) Matcher error: n must be a positive integer n has type: number n has value: 0.1`; module.exports["nthCalledWith negative throw matcher error for n that is not integer"] = `expect(received).not.nthCalledWith(n, ...expected) Matcher error: n must be a positive integer n has type: number n has value: Infinity`; module.exports["nthCalledWith includes the custom mock name in the error message"] = `expect(named-mock).not.nthCalledWith(n, ...expected) n: 1 Expected: not "foo", "bar" Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works only on spies or mock.fn"] = `expect(received).toHaveBeenNthCalledWith(n, ...expected) Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["toHaveBeenNthCalledWith works when not called"] = `expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: "foo", "bar" Number of calls: 0`; module.exports["toHaveBeenNthCalledWith works with arguments that don't match"] = `expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: "foo", "bar" Received: "foo", "bar1" Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with arguments that don't match in number of arguments"] = `expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: "foo", "bar" Received: "foo", "bar", "plop" Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with arguments that don't match with matchers"] = `expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: Any, Any Received: "foo", "bar" Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with arguments that don't match with matchers even when argument is undefined"] = `expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: "foo", Any Received: "foo", undefined Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with arguments that don't match in size even if one is an optional matcher"] = `expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: "foo", optionalFn<> Received: "foo" Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with arguments that match"] = `expect(jest.fn()).not.toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: not "foo", "bar" Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with arguments that match with matchers"] = `expect(jest.fn()).not.toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: not Any, Any Received: 0, ["foo", "bar"] Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with trailing undefined arguments"] = `expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: "foo" Received: "foo", undefined Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with trailing undefined arguments if requested by the match query"] = `expect(jest.fn()).not.toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: not "foo", undefined Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with trailing undefined arguments when explicitly requested as optional by matcher"] = `expect(jest.fn()).not.toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: not "foo", optionalFn<> Received: 0, ["foo", undefined] Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with Map"] = `expect(jest.fn()).not.toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: not Map {1 => 2, 2 => 1} Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with Map #1"] = `expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected) n: 1 - Expected + Received Map { - "a" => "b", - "b" => "a", + 1 => 2, + 2 => 1, }, Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with Set"] = `expect(jest.fn()).not.toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: not Set {1, 2} Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with Set #1"] = `expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected) n: 1 - Expected + Received Set { - 3, - 4, + 1, + 2, }, Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with Immutable.js objects"] = `expect(jest.fn()).not.toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: not Immutable.Map {"a": {"b": "c"}}, Immutable.Map {"a": {"b": "c"}} Number of calls: 1`; module.exports["toHaveBeenNthCalledWith works with three calls"] = `expect(jest.fn()).not.toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: not "foo1", "bar" Received -> 1: "foo1", "bar" 2: "foo", "bar1" Number of calls: 3`; module.exports["toHaveBeenNthCalledWith positive throw matcher error for n that is not positive integer"] = `expect(received).toHaveBeenNthCalledWith(n, ...expected) Matcher error: n must be a positive integer n has type: number n has value: 0`; module.exports["toHaveBeenNthCalledWith positive throw matcher error for n that is not integer"] = `expect(received).toHaveBeenNthCalledWith(n, ...expected) Matcher error: n must be a positive integer n has type: number n has value: 0.1`; module.exports["toHaveBeenNthCalledWith negative throw matcher error for n that is not integer"] = `expect(received).not.toHaveBeenNthCalledWith(n, ...expected) Matcher error: n must be a positive integer n has type: number n has value: Infinity`; module.exports["toHaveBeenNthCalledWith includes the custom mock name in the error message"] = `expect(named-mock).not.toHaveBeenNthCalledWith(n, ...expected) n: 1 Expected: not "foo", "bar" Number of calls: 1`; module.exports["toBeCalledWith works only on spies or mock.fn"] = `expect(received).toBeCalledWith(...expected) Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["toBeCalledWith works when not called"] = `expect(jest.fn()).toBeCalledWith(...expected) Expected: "foo", "bar" Number of calls: 0`; module.exports["toBeCalledWith works with arguments that don't match"] = `expect(jest.fn()).toBeCalledWith(...expected) Expected: "foo", "bar" Received: "foo", "bar1" Number of calls: 1`; module.exports["toBeCalledWith works with arguments that don't match in number of arguments"] = `expect(jest.fn()).toBeCalledWith(...expected) Expected: "foo", "bar" Received: "foo", "bar", "plop" Number of calls: 1`; module.exports["toBeCalledWith works with arguments that don't match with matchers"] = `expect(jest.fn()).toBeCalledWith(...expected) Expected: Any, Any Received: "foo", "bar" Number of calls: 1`; module.exports["toBeCalledWith works with arguments that don't match with matchers even when argument is undefined"] = `expect(jest.fn()).toBeCalledWith(...expected) Expected: "foo", Any Received: "foo", undefined Number of calls: 1`; module.exports["toBeCalledWith works with arguments that don't match in size even if one is an optional matcher"] = `expect(jest.fn()).toBeCalledWith(...expected) Expected: "foo", optionalFn<> Received: "foo" Number of calls: 1`; module.exports["toBeCalledWith works with arguments that match"] = `expect(jest.fn()).not.toBeCalledWith(...expected) Expected: not "foo", "bar" Number of calls: 1`; module.exports["toBeCalledWith works with arguments that match with matchers"] = `expect(jest.fn()).not.toBeCalledWith(...expected) Expected: not Any, Any Received: 0, ["foo", "bar"] Number of calls: 1`; module.exports["toBeCalledWith works with trailing undefined arguments"] = `expect(jest.fn()).toBeCalledWith(...expected) Expected: "foo" Received: "foo", undefined Number of calls: 1`; module.exports["toBeCalledWith works with trailing undefined arguments if requested by the match query"] = `expect(jest.fn()).not.toBeCalledWith(...expected) Expected: not "foo", undefined Number of calls: 1`; module.exports["toBeCalledWith works with trailing undefined arguments when explicitly requested as optional by matcher"] = `expect(jest.fn()).not.toBeCalledWith(...expected) Expected: not "foo", optionalFn<> Received: 0, ["foo", undefined] Number of calls: 1`; module.exports["toBeCalledWith works with Map"] = `expect(jest.fn()).not.toBeCalledWith(...expected) Expected: not Map {1 => 2, 2 => 1} Number of calls: 1`; module.exports["toBeCalledWith works with Map #1"] = `expect(jest.fn()).toBeCalledWith(...expected) - Expected + Received Map { - "a" => "b", - "b" => "a", + 1 => 2, + 2 => 1, }, Number of calls: 1`; module.exports["toBeCalledWith works with Set"] = `expect(jest.fn()).not.toBeCalledWith(...expected) Expected: not Set {1, 2} Number of calls: 1`; module.exports["toBeCalledWith works with Set #1"] = `expect(jest.fn()).toBeCalledWith(...expected) - Expected + Received Set { - 3, - 4, + 1, + 2, }, Number of calls: 1`; module.exports["toBeCalledWith works with Immutable.js objects"] = `expect(jest.fn()).not.toBeCalledWith(...expected) Expected: not Immutable.Map {"a": {"b": "c"}}, Immutable.Map {"a": {"b": "c"}} Number of calls: 1`; module.exports["toBeCalledWith works with many arguments"] = `expect(jest.fn()).not.toBeCalledWith(...expected) Expected: not "foo", "bar" Received 3: "foo", "bar" Number of calls: 3`; module.exports["toBeCalledWith works with many arguments that don't match"] = `expect(jest.fn()).toBeCalledWith(...expected) Expected: "foo", "bar" Received 1: "foo", "bar1" 2: "foo", "bar2" 3: "foo", "bar3" Number of calls: 3`; module.exports["toBeCalledWith includes the custom mock name in the error message"] = `expect(named-mock).not.toBeCalledWith(...expected) Expected: not "foo", "bar" Number of calls: 1`; module.exports["toHaveBeenCalledWith works only on spies or mock.fn"] = `expect(received).toHaveBeenCalledWith(...expected) Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function fn]`; module.exports["toHaveBeenCalledWith works when not called"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "foo", "bar" Number of calls: 0`; module.exports["toHaveBeenCalledWith works with arguments that don't match"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "foo", "bar" Received: "foo", "bar1" Number of calls: 1`; module.exports["toHaveBeenCalledWith works with arguments that don't match in number of arguments"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "foo", "bar" Received: "foo", "bar", "plop" Number of calls: 1`; module.exports["toHaveBeenCalledWith works with arguments that don't match with matchers"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: Any, Any Received: "foo", "bar" Number of calls: 1`; module.exports["toHaveBeenCalledWith works with arguments that don't match with matchers even when argument is undefined"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "foo", Any Received: "foo", undefined Number of calls: 1`; module.exports["toHaveBeenCalledWith works with arguments that don't match in size even if one is an optional matcher"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "foo", optionalFn<> Received: "foo" Number of calls: 1`; module.exports["toHaveBeenCalledWith works with arguments that match"] = `expect(jest.fn()).not.toHaveBeenCalledWith(...expected) Expected: not "foo", "bar" Number of calls: 1`; module.exports["toHaveBeenCalledWith works with arguments that match with matchers"] = `expect(jest.fn()).not.toHaveBeenCalledWith(...expected) Expected: not Any, Any Received: 0, ["foo", "bar"] Number of calls: 1`; module.exports["toHaveBeenCalledWith works with trailing undefined arguments"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "foo" Received: "foo", undefined Number of calls: 1`; module.exports["toHaveBeenCalledWith works with trailing undefined arguments if requested by the match query"] = `expect(jest.fn()).not.toHaveBeenCalledWith(...expected) Expected: not "foo", undefined Number of calls: 1`; module.exports["toHaveBeenCalledWith works with trailing undefined arguments when explicitly requested as optional by matcher"] = `expect(jest.fn()).not.toHaveBeenCalledWith(...expected) Expected: not "foo", optionalFn<> Received: 0, ["foo", undefined] Number of calls: 1`; module.exports["toHaveBeenCalledWith works with Map"] = `expect(jest.fn()).not.toHaveBeenCalledWith(...expected) Expected: not Map {1 => 2, 2 => 1} Number of calls: 1`; module.exports["toHaveBeenCalledWith works with Map #1"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) - Expected + Received Map { - "a" => "b", - "b" => "a", + 1 => 2, + 2 => 1, }, Number of calls: 1`; module.exports["toHaveBeenCalledWith works with Set"] = `expect(jest.fn()).not.toHaveBeenCalledWith(...expected) Expected: not Set {1, 2} Number of calls: 1`; module.exports["toHaveBeenCalledWith works with Set #1"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) - Expected + Received Set { - 3, - 4, + 1, + 2, }, Number of calls: 1`; module.exports["toHaveBeenCalledWith works with Immutable.js objects"] = `expect(jest.fn()).not.toHaveBeenCalledWith(...expected) Expected: not Immutable.Map {"a": {"b": "c"}}, Immutable.Map {"a": {"b": "c"}} Number of calls: 1`; module.exports["toHaveBeenCalledWith works with many arguments"] = `expect(jest.fn()).not.toHaveBeenCalledWith(...expected) Expected: not "foo", "bar" Received 3: "foo", "bar" Number of calls: 3`; module.exports["toHaveBeenCalledWith works with many arguments that don't match"] = `expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "foo", "bar" Received 1: "foo", "bar1" 2: "foo", "bar2" 3: "foo", "bar3" Number of calls: 3`; module.exports["toHaveBeenCalledWith includes the custom mock name in the error message"] = `expect(named-mock).not.toHaveBeenCalledWith(...expected) Expected: not "foo", "bar" Number of calls: 1`; module.exports["toReturn .not works only on mock.fn"] = `expect(received).not.toReturn() Matcher error: received value must be a mock function Received has type: function Received has value: [Function fn]`; module.exports["toReturn throw matcher error if received is spy"] = `expect(received).toReturn() Matcher error: received value must be a mock function Received has type: function Received has value: [Function spy]`; module.exports["toReturn passes when returned"] = `expect(jest.fn()).not.toReturn() Expected number of returns: 0 Received number of returns: 1 1: 42`; module.exports["toReturn passes when undefined is returned"] = `expect(jest.fn()).not.toReturn() Expected number of returns: 0 Received number of returns: 1 1: undefined`; module.exports["toReturn passes when at least one call does not throw"] = `expect(jest.fn()).not.toReturn() Expected number of returns: 0 Received number of returns: 2 1: 42 3: 42 Received number of calls: 3`; module.exports["toReturn .not passes when not returned"] = `expect(jest.fn()).toReturn() Expected number of returns: >= 1 Received number of returns: 0`; module.exports["toReturn .not passes when all calls throw"] = `expect(jest.fn()).toReturn() Expected number of returns: >= 1 Received number of returns: 0 Received number of calls: 2`; module.exports["toReturn .not passes when a call throws undefined"] = `expect(jest.fn()).toReturn() Expected number of returns: >= 1 Received number of returns: 0 Received number of calls: 1`; module.exports["toReturn fails with any argument passed"] = `expect(received).toReturn() Matcher error: this matcher must not have an expected argument Expected has type: number Expected has value: 555`; module.exports["toReturn .not fails with any argument passed"] = `expect(received).not.toReturn() Matcher error: this matcher must not have an expected argument Expected has type: number Expected has value: 555`; module.exports["toReturn includes the custom mock name in the error message"] = `expect(named-mock).not.toReturn() Expected number of returns: 0 Received number of returns: 1 1: 42`; module.exports["toReturn incomplete recursive calls are handled properly"] = `expect(jest.fn()).toReturn() Expected number of returns: >= 1 Received number of returns: 0 Received number of calls: 4`; module.exports["toHaveReturned .not works only on mock.fn"] = `expect(received).not.toHaveReturned() Matcher error: received value must be a mock function Received has type: function Received has value: [Function fn]`; module.exports["toHaveReturned throw matcher error if received is spy"] = `expect(received).toHaveReturned() Matcher error: received value must be a mock function Received has type: function Received has value: [Function spy]`; module.exports["toHaveReturned passes when returned"] = `expect(jest.fn()).not.toHaveReturned() Expected number of returns: 0 Received number of returns: 1 1: 42`; module.exports["toHaveReturned passes when undefined is returned"] = `expect(jest.fn()).not.toHaveReturned() Expected number of returns: 0 Received number of returns: 1 1: undefined`; module.exports["toHaveReturned passes when at least one call does not throw"] = `expect(jest.fn()).not.toHaveReturned() Expected number of returns: 0 Received number of returns: 2 1: 42 3: 42 Received number of calls: 3`; module.exports["toHaveReturned .not passes when not returned"] = `expect(jest.fn()).toHaveReturned() Expected number of returns: >= 1 Received number of returns: 0`; module.exports["toHaveReturned .not passes when all calls throw"] = `expect(jest.fn()).toHaveReturned() Expected number of returns: >= 1 Received number of returns: 0 Received number of calls: 2`; module.exports["toHaveReturned .not passes when a call throws undefined"] = `expect(jest.fn()).toHaveReturned() Expected number of returns: >= 1 Received number of returns: 0 Received number of calls: 1`; module.exports["toHaveReturned fails with any argument passed"] = `expect(received).toHaveReturned() Matcher error: this matcher must not have an expected argument Expected has type: number Expected has value: 555`; module.exports["toHaveReturned .not fails with any argument passed"] = `expect(received).not.toHaveReturned() Matcher error: this matcher must not have an expected argument Expected has type: number Expected has value: 555`; module.exports["toHaveReturned includes the custom mock name in the error message"] = `expect(named-mock).not.toHaveReturned() Expected number of returns: 0 Received number of returns: 1 1: 42`; module.exports["toHaveReturned incomplete recursive calls are handled properly"] = `expect(jest.fn()).toHaveReturned() Expected number of returns: >= 1 Received number of returns: 0 Received number of calls: 4`; module.exports["toReturnTimes throw matcher error if received is spy"] = `expect(received).not.toReturnTimes(expected) Matcher error: received value must be a mock function Received has type: function Received has value: [Function spy]`; module.exports["toReturnTimes only accepts a number argument"] = `expect(received).toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: object Expected has value: {}`; module.exports["toReturnTimes only accepts a number argument #1"] = `expect(received).toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: array Expected has value: []`; module.exports["toReturnTimes only accepts a number argument #2"] = `expect(received).toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: boolean Expected has value: true`; module.exports["toReturnTimes only accepts a number argument #3"] = `expect(received).toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: string Expected has value: "a"`; module.exports["toReturnTimes only accepts a number argument #4"] = `expect(received).toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: map Expected has value: Map {}`; module.exports["toReturnTimes only accepts a number argument #5"] = `expect(received).toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: function Expected has value: [Function anonymous]`; module.exports["toReturnTimes .not only accepts a number argument"] = `expect(received).not.toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: object Expected has value: {}`; module.exports["toReturnTimes .not only accepts a number argument #1"] = `expect(received).not.toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: array Expected has value: []`; module.exports["toReturnTimes .not only accepts a number argument #2"] = `expect(received).not.toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: boolean Expected has value: true`; module.exports["toReturnTimes .not only accepts a number argument #3"] = `expect(received).not.toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: string Expected has value: "a"`; module.exports["toReturnTimes .not only accepts a number argument #4"] = `expect(received).not.toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: map Expected has value: Map {}`; module.exports["toReturnTimes .not only accepts a number argument #5"] = `expect(received).not.toReturnTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: function Expected has value: [Function anonymous]`; module.exports["toReturnTimes passes if function returned equal to expected times"] = `expect(jest.fn()).not.toReturnTimes(expected) Expected number of returns: not 2`; module.exports["toReturnTimes calls that return undefined are counted as returns"] = `expect(jest.fn()).not.toReturnTimes(expected) Expected number of returns: not 2`; module.exports["toReturnTimes .not passes if function returned more than expected times"] = `expect(jest.fn()).toReturnTimes(expected) Expected number of returns: 2 Received number of returns: 3`; module.exports["toReturnTimes .not passes if function called less than expected times"] = `expect(jest.fn()).toReturnTimes(expected) Expected number of returns: 2 Received number of returns: 1`; module.exports["toReturnTimes calls that throw are not counted"] = `expect(jest.fn()).toReturnTimes(expected) Expected number of returns: 3 Received number of returns: 2 Received number of calls: 3`; module.exports["toReturnTimes calls that throw undefined are not counted"] = `expect(jest.fn()).not.toReturnTimes(expected) Expected number of returns: not 2 Received number of calls: 3`; module.exports["toReturnTimes includes the custom mock name in the error message"] = `expect(named-mock).toReturnTimes(expected) Expected number of returns: 1 Received number of returns: 2`; module.exports["toReturnTimes incomplete recursive calls are handled properly"] = `expect(jest.fn()).not.toReturnTimes(expected) Expected number of returns: not 2 Received number of calls: 4`; module.exports["toHaveReturnedTimes throw matcher error if received is spy"] = `expect(received).not.toHaveReturnedTimes(expected) Matcher error: received value must be a mock function Received has type: function Received has value: [Function spy]`; module.exports["toHaveReturnedTimes only accepts a number argument"] = `expect(received).toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: object Expected has value: {}`; module.exports["toHaveReturnedTimes only accepts a number argument #1"] = `expect(received).toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: array Expected has value: []`; module.exports["toHaveReturnedTimes only accepts a number argument #2"] = `expect(received).toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: boolean Expected has value: true`; module.exports["toHaveReturnedTimes only accepts a number argument #3"] = `expect(received).toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: string Expected has value: "a"`; module.exports["toHaveReturnedTimes only accepts a number argument #4"] = `expect(received).toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: map Expected has value: Map {}`; module.exports["toHaveReturnedTimes only accepts a number argument #5"] = `expect(received).toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: function Expected has value: [Function anonymous]`; module.exports["toHaveReturnedTimes .not only accepts a number argument"] = `expect(received).not.toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: object Expected has value: {}`; module.exports["toHaveReturnedTimes .not only accepts a number argument #1"] = `expect(received).not.toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: array Expected has value: []`; module.exports["toHaveReturnedTimes .not only accepts a number argument #2"] = `expect(received).not.toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: boolean Expected has value: true`; module.exports["toHaveReturnedTimes .not only accepts a number argument #3"] = `expect(received).not.toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: string Expected has value: "a"`; module.exports["toHaveReturnedTimes .not only accepts a number argument #4"] = `expect(received).not.toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: map Expected has value: Map {}`; module.exports["toHaveReturnedTimes .not only accepts a number argument #5"] = `expect(received).not.toHaveReturnedTimes(expected) Matcher error: expected value must be a non-negative integer Expected has type: function Expected has value: [Function anonymous]`; module.exports["toHaveReturnedTimes passes if function returned equal to expected times"] = `expect(jest.fn()).not.toHaveReturnedTimes(expected) Expected number of returns: not 2`; module.exports["toHaveReturnedTimes calls that return undefined are counted as returns"] = `expect(jest.fn()).not.toHaveReturnedTimes(expected) Expected number of returns: not 2`; module.exports["toHaveReturnedTimes .not passes if function returned more than expected times"] = `expect(jest.fn()).toHaveReturnedTimes(expected) Expected number of returns: 2 Received number of returns: 3`; module.exports["toHaveReturnedTimes .not passes if function called less than expected times"] = `expect(jest.fn()).toHaveReturnedTimes(expected) Expected number of returns: 2 Received number of returns: 1`; module.exports["toHaveReturnedTimes calls that throw are not counted"] = `expect(jest.fn()).toHaveReturnedTimes(expected) Expected number of returns: 3 Received number of returns: 2 Received number of calls: 3`; module.exports["toHaveReturnedTimes calls that throw undefined are not counted"] = `expect(jest.fn()).not.toHaveReturnedTimes(expected) Expected number of returns: not 2 Received number of calls: 3`; module.exports["toHaveReturnedTimes includes the custom mock name in the error message"] = `expect(named-mock).toHaveReturnedTimes(expected) Expected number of returns: 1 Received number of returns: 2`; module.exports["toHaveReturnedTimes incomplete recursive calls are handled properly"] = `expect(jest.fn()).not.toHaveReturnedTimes(expected) Expected number of returns: not 2 Received number of calls: 4`; module.exports["lastReturnedWith works only on spies or mock.fn"] = `expect(received).lastReturnedWith(expected) Matcher error: received value must be a mock function Received has type: function Received has value: [Function fn]`; module.exports["lastReturnedWith works when not called"] = `expect(jest.fn()).lastReturnedWith(expected) Expected: "foo" Number of returns: 0`; module.exports["lastReturnedWith works with argument that does not match"] = `expect(jest.fn()).lastReturnedWith(expected) Expected: "bar" Received: "foo" Number of returns: 1`; module.exports["lastReturnedWith works with argument that does match"] = `expect(jest.fn()).not.lastReturnedWith(expected) Expected: not "foo" Number of returns: 1`; module.exports["lastReturnedWith works with undefined"] = `expect(jest.fn()).not.lastReturnedWith(expected) Expected: not undefined Number of returns: 1`; module.exports["lastReturnedWith works with Map"] = `expect(jest.fn()).not.lastReturnedWith(expected) Expected: not Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["lastReturnedWith works with Map #1"] = `expect(jest.fn()).lastReturnedWith(expected) Expected: Map {"a" => "b", "b" => "a"} Received: Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["lastReturnedWith works with Set"] = `expect(jest.fn()).not.lastReturnedWith(expected) Expected: not Set {1, 2} Number of returns: 1`; module.exports["lastReturnedWith works with Set #1"] = `expect(jest.fn()).lastReturnedWith(expected) Expected: Set {3, 4} Received: Set {1, 2} Number of returns: 1`; module.exports["lastReturnedWith works with Immutable.js objects directly created"] = `expect(jest.fn()).not.lastReturnedWith(expected) Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["lastReturnedWith works with Immutable.js objects indirectly created"] = `expect(jest.fn()).not.lastReturnedWith(expected) Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["lastReturnedWith a call that throws is not considered to have returned"] = `expect(jest.fn()).lastReturnedWith(expected) Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["lastReturnedWith a call that throws undefined is not considered to have returned"] = `expect(jest.fn()).lastReturnedWith(expected) Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["lastReturnedWith returnedWith works with more calls than the limit"] = `expect(jest.fn()).lastReturnedWith(expected) Expected: "bar" Received 5: "foo5" -> 6: "foo6" Number of returns: 6`; module.exports["lastReturnedWith returnedWith incomplete recursive calls are handled properly"] = `expect(jest.fn()).lastReturnedWith(expected) Expected: undefined Received 3: function call has not returned yet -> 4: function call has not returned yet Number of returns: 0 Number of calls: 4`; module.exports["lastReturnedWith lastReturnedWith works with three calls"] = `expect(jest.fn()).not.lastReturnedWith(expected) Expected: not "foo3" Received 2: "foo2" -> 3: "foo3" Number of returns: 3`; module.exports["lastReturnedWith lastReturnedWith incomplete recursive calls are handled properly"] = `expect(jest.fn()).lastReturnedWith(expected) Expected: 0 Received 3: function call has not returned yet -> 4: function call has not returned yet Number of returns: 0 Number of calls: 4`; module.exports["lastReturnedWith includes the custom mock name in the error message"] = `expect(named-mock).lastReturnedWith(expected) Expected: "foo" Number of returns: 0`; module.exports["toHaveLastReturnedWith works only on spies or mock.fn"] = `expect(received).toHaveLastReturnedWith(expected) Matcher error: received value must be a mock function Received has type: function Received has value: [Function fn]`; module.exports["toHaveLastReturnedWith works when not called"] = `expect(jest.fn()).toHaveLastReturnedWith(expected) Expected: "foo" Number of returns: 0`; module.exports["toHaveLastReturnedWith works with argument that does not match"] = `expect(jest.fn()).toHaveLastReturnedWith(expected) Expected: "bar" Received: "foo" Number of returns: 1`; module.exports["toHaveLastReturnedWith works with argument that does match"] = `expect(jest.fn()).not.toHaveLastReturnedWith(expected) Expected: not "foo" Number of returns: 1`; module.exports["toHaveLastReturnedWith works with undefined"] = `expect(jest.fn()).not.toHaveLastReturnedWith(expected) Expected: not undefined Number of returns: 1`; module.exports["toHaveLastReturnedWith works with Map"] = `expect(jest.fn()).not.toHaveLastReturnedWith(expected) Expected: not Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["toHaveLastReturnedWith works with Map #1"] = `expect(jest.fn()).toHaveLastReturnedWith(expected) Expected: Map {"a" => "b", "b" => "a"} Received: Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["toHaveLastReturnedWith works with Set"] = `expect(jest.fn()).not.toHaveLastReturnedWith(expected) Expected: not Set {1, 2} Number of returns: 1`; module.exports["toHaveLastReturnedWith works with Set #1"] = `expect(jest.fn()).toHaveLastReturnedWith(expected) Expected: Set {3, 4} Received: Set {1, 2} Number of returns: 1`; module.exports["toHaveLastReturnedWith works with Immutable.js objects directly created"] = `expect(jest.fn()).not.toHaveLastReturnedWith(expected) Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["toHaveLastReturnedWith works with Immutable.js objects indirectly created"] = `expect(jest.fn()).not.toHaveLastReturnedWith(expected) Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["toHaveLastReturnedWith a call that throws is not considered to have returned"] = `expect(jest.fn()).toHaveLastReturnedWith(expected) Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["toHaveLastReturnedWith a call that throws undefined is not considered to have returned"] = `expect(jest.fn()).toHaveLastReturnedWith(expected) Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["toHaveLastReturnedWith returnedWith works with more calls than the limit"] = `expect(jest.fn()).toHaveLastReturnedWith(expected) Expected: "bar" Received 5: "foo5" -> 6: "foo6" Number of returns: 6`; module.exports["toHaveLastReturnedWith returnedWith incomplete recursive calls are handled properly"] = `expect(jest.fn()).toHaveLastReturnedWith(expected) Expected: undefined Received 3: function call has not returned yet -> 4: function call has not returned yet Number of returns: 0 Number of calls: 4`; module.exports["toHaveLastReturnedWith lastReturnedWith works with three calls"] = `expect(jest.fn()).not.toHaveLastReturnedWith(expected) Expected: not "foo3" Received 2: "foo2" -> 3: "foo3" Number of returns: 3`; module.exports["toHaveLastReturnedWith lastReturnedWith incomplete recursive calls are handled properly"] = `expect(jest.fn()).toHaveLastReturnedWith(expected) Expected: 0 Received 3: function call has not returned yet -> 4: function call has not returned yet Number of returns: 0 Number of calls: 4`; module.exports["toHaveLastReturnedWith includes the custom mock name in the error message"] = `expect(named-mock).toHaveLastReturnedWith(expected) Expected: "foo" Number of returns: 0`; module.exports["nthReturnedWith works only on spies or mock.fn"] = `expect(received).nthReturnedWith(n, expected) Matcher error: received value must be a mock function Received has type: function Received has value: [Function fn]`; module.exports["nthReturnedWith works when not called"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 1 Expected: "foo" Number of returns: 0`; module.exports["nthReturnedWith works with argument that does not match"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 1 Expected: "bar" Received: "foo" Number of returns: 1`; module.exports["nthReturnedWith works with argument that does match"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 1 Expected: not "foo" Number of returns: 1`; module.exports["nthReturnedWith works with undefined"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 1 Expected: not undefined Number of returns: 1`; module.exports["nthReturnedWith works with Map"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 1 Expected: not Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["nthReturnedWith works with Map #1"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 1 Expected: Map {"a" => "b", "b" => "a"} Received: Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["nthReturnedWith works with Set"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 1 Expected: not Set {1, 2} Number of returns: 1`; module.exports["nthReturnedWith works with Set #1"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 1 Expected: Set {3, 4} Received: Set {1, 2} Number of returns: 1`; module.exports["nthReturnedWith works with Immutable.js objects directly created"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 1 Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["nthReturnedWith works with Immutable.js objects indirectly created"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 1 Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["nthReturnedWith a call that throws is not considered to have returned"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 1 Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["nthReturnedWith a call that throws undefined is not considered to have returned"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 1 Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["nthReturnedWith nthReturnedWith works with three calls"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 1 Expected: not "foo1" Received -> 1: "foo1" 2: "foo2" Number of returns: 3`; module.exports["nthReturnedWith nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 1 Expected: "bar1" Received -> 1: "foo1" 2: "foo2" Number of returns: 3`; module.exports["nthReturnedWith nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third #1"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 1 Expected: not "foo1" Received -> 1: "foo1" 2: "foo2" Number of returns: 3`; module.exports["nthReturnedWith nthReturnedWith positive throw matcher error for n that is not positive integer"] = `expect(received).nthReturnedWith(n, expected) Matcher error: n must be a positive integer n has type: number n has value: 0`; module.exports["nthReturnedWith nthReturnedWith should reject nth value greater than number of calls"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 4 Expected: "foo" Received 3: "foo" Number of returns: 3`; module.exports["nthReturnedWith nthReturnedWith positive throw matcher error for n that is not integer"] = `expect(received).nthReturnedWith(n, expected) Matcher error: n must be a positive integer n has type: number n has value: 0.1`; module.exports["nthReturnedWith nthReturnedWith negative throw matcher error for n that is not number"] = `expect(received).not.nthReturnedWith(n, expected) Matcher error: n must be a positive integer n has value: undefined`; module.exports["nthReturnedWith nthReturnedWith incomplete recursive calls are handled properly"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 1 Expected: 6 Received -> 1: function call has not returned yet 2: function call has not returned yet Number of returns: 2 Number of calls: 4`; module.exports["nthReturnedWith nthReturnedWith incomplete recursive calls are handled properly #1"] = `expect(jest.fn()).nthReturnedWith(n, expected) n: 2 Expected: 3 Received 1: function call has not returned yet -> 2: function call has not returned yet 3: 1 Number of returns: 2 Number of calls: 4`; module.exports["nthReturnedWith nthReturnedWith incomplete recursive calls are handled properly #2"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 3 Expected: not 1 Received 2: function call has not returned yet -> 3: 1 4: 0 Number of returns: 2 Number of calls: 4`; module.exports["nthReturnedWith nthReturnedWith incomplete recursive calls are handled properly #3"] = `expect(jest.fn()).not.nthReturnedWith(n, expected) n: 4 Expected: not 0 Received 3: 1 -> 4: 0 Number of returns: 2 Number of calls: 4`; module.exports["nthReturnedWith includes the custom mock name in the error message"] = `expect(named-mock).nthReturnedWith(n, expected) n: 1 Expected: "foo" Number of returns: 0`; module.exports["toHaveNthReturnedWith works only on spies or mock.fn"] = `expect(received).toHaveNthReturnedWith(n, expected) Matcher error: received value must be a mock function Received has type: function Received has value: [Function fn]`; module.exports["toHaveNthReturnedWith works when not called"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 1 Expected: "foo" Number of returns: 0`; module.exports["toHaveNthReturnedWith works with argument that does not match"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 1 Expected: "bar" Received: "foo" Number of returns: 1`; module.exports["toHaveNthReturnedWith works with argument that does match"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 1 Expected: not "foo" Number of returns: 1`; module.exports["toHaveNthReturnedWith works with undefined"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 1 Expected: not undefined Number of returns: 1`; module.exports["toHaveNthReturnedWith works with Map"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 1 Expected: not Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["toHaveNthReturnedWith works with Map #1"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 1 Expected: Map {"a" => "b", "b" => "a"} Received: Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["toHaveNthReturnedWith works with Set"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 1 Expected: not Set {1, 2} Number of returns: 1`; module.exports["toHaveNthReturnedWith works with Set #1"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 1 Expected: Set {3, 4} Received: Set {1, 2} Number of returns: 1`; module.exports["toHaveNthReturnedWith works with Immutable.js objects directly created"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 1 Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["toHaveNthReturnedWith works with Immutable.js objects indirectly created"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 1 Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["toHaveNthReturnedWith a call that throws is not considered to have returned"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 1 Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["toHaveNthReturnedWith a call that throws undefined is not considered to have returned"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 1 Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["toHaveNthReturnedWith nthReturnedWith works with three calls"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 1 Expected: not "foo1" Received -> 1: "foo1" 2: "foo2" Number of returns: 3`; module.exports["toHaveNthReturnedWith nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 1 Expected: "bar1" Received -> 1: "foo1" 2: "foo2" Number of returns: 3`; module.exports["toHaveNthReturnedWith nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third #1"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 1 Expected: not "foo1" Received -> 1: "foo1" 2: "foo2" Number of returns: 3`; module.exports["toHaveNthReturnedWith nthReturnedWith positive throw matcher error for n that is not positive integer"] = `expect(received).toHaveNthReturnedWith(n, expected) Matcher error: n must be a positive integer n has type: number n has value: 0`; module.exports["toHaveNthReturnedWith nthReturnedWith should reject nth value greater than number of calls"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 4 Expected: "foo" Received 3: "foo" Number of returns: 3`; module.exports["toHaveNthReturnedWith nthReturnedWith positive throw matcher error for n that is not integer"] = `expect(received).toHaveNthReturnedWith(n, expected) Matcher error: n must be a positive integer n has type: number n has value: 0.1`; module.exports["toHaveNthReturnedWith nthReturnedWith negative throw matcher error for n that is not number"] = `expect(received).not.toHaveNthReturnedWith(n, expected) Matcher error: n must be a positive integer n has value: undefined`; module.exports["toHaveNthReturnedWith nthReturnedWith incomplete recursive calls are handled properly"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 1 Expected: 6 Received -> 1: function call has not returned yet 2: function call has not returned yet Number of returns: 2 Number of calls: 4`; module.exports["toHaveNthReturnedWith nthReturnedWith incomplete recursive calls are handled properly #1"] = `expect(jest.fn()).toHaveNthReturnedWith(n, expected) n: 2 Expected: 3 Received 1: function call has not returned yet -> 2: function call has not returned yet 3: 1 Number of returns: 2 Number of calls: 4`; module.exports["toHaveNthReturnedWith nthReturnedWith incomplete recursive calls are handled properly #2"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 3 Expected: not 1 Received 2: function call has not returned yet -> 3: 1 4: 0 Number of returns: 2 Number of calls: 4`; module.exports["toHaveNthReturnedWith nthReturnedWith incomplete recursive calls are handled properly #3"] = `expect(jest.fn()).not.toHaveNthReturnedWith(n, expected) n: 4 Expected: not 0 Received 3: 1 -> 4: 0 Number of returns: 2 Number of calls: 4`; module.exports["toHaveNthReturnedWith includes the custom mock name in the error message"] = `expect(named-mock).toHaveNthReturnedWith(n, expected) n: 1 Expected: "foo" Number of returns: 0`; module.exports["toReturnWith works only on spies or mock.fn"] = `expect(received).toReturnWith(expected) Matcher error: received value must be a mock function Received has type: function Received has value: [Function fn]`; module.exports["toReturnWith works when not called"] = `expect(jest.fn()).toReturnWith(expected) Expected: "foo" Number of returns: 0`; module.exports["toReturnWith works with argument that does not match"] = `expect(jest.fn()).toReturnWith(expected) Expected: "bar" Received: "foo" Number of returns: 1`; module.exports["toReturnWith works with argument that does match"] = `expect(jest.fn()).not.toReturnWith(expected) Expected: not "foo" Number of returns: 1`; module.exports["toReturnWith works with undefined"] = `expect(jest.fn()).not.toReturnWith(expected) Expected: not undefined Number of returns: 1`; module.exports["toReturnWith works with Map"] = `expect(jest.fn()).not.toReturnWith(expected) Expected: not Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["toReturnWith works with Map #1"] = `expect(jest.fn()).toReturnWith(expected) Expected: Map {"a" => "b", "b" => "a"} Received: Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["toReturnWith works with Set"] = `expect(jest.fn()).not.toReturnWith(expected) Expected: not Set {1, 2} Number of returns: 1`; module.exports["toReturnWith works with Set #1"] = `expect(jest.fn()).toReturnWith(expected) Expected: Set {3, 4} Received: Set {1, 2} Number of returns: 1`; module.exports["toReturnWith works with Immutable.js objects directly created"] = `expect(jest.fn()).not.toReturnWith(expected) Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["toReturnWith works with Immutable.js objects indirectly created"] = `expect(jest.fn()).not.toReturnWith(expected) Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["toReturnWith a call that throws is not considered to have returned"] = `expect(jest.fn()).toReturnWith(expected) Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["toReturnWith a call that throws undefined is not considered to have returned"] = `expect(jest.fn()).toReturnWith(expected) Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["toReturnWith returnedWith works with more calls than the limit"] = `expect(jest.fn()).toReturnWith(expected) Expected: "bar" Received 1: "foo1" 2: "foo2" 3: "foo3" Number of returns: 6`; module.exports["toReturnWith returnedWith incomplete recursive calls are handled properly"] = `expect(jest.fn()).toReturnWith(expected) Expected: undefined Received 1: function call has not returned yet 2: function call has not returned yet 3: function call has not returned yet Number of returns: 0 Number of calls: 4`; module.exports["toReturnWith includes the custom mock name in the error message"] = `expect(named-mock).toReturnWith(expected) Expected: "foo" Number of returns: 0`; module.exports["toHaveReturnedWith works only on spies or mock.fn"] = `expect(received).toHaveReturnedWith(expected) Matcher error: received value must be a mock function Received has type: function Received has value: [Function fn]`; module.exports["toHaveReturnedWith works when not called"] = `expect(jest.fn()).toHaveReturnedWith(expected) Expected: "foo" Number of returns: 0`; module.exports["toHaveReturnedWith works with argument that does not match"] = `expect(jest.fn()).toHaveReturnedWith(expected) Expected: "bar" Received: "foo" Number of returns: 1`; module.exports["toHaveReturnedWith works with argument that does match"] = `expect(jest.fn()).not.toHaveReturnedWith(expected) Expected: not "foo" Number of returns: 1`; module.exports["toHaveReturnedWith works with undefined"] = `expect(jest.fn()).not.toHaveReturnedWith(expected) Expected: not undefined Number of returns: 1`; module.exports["toHaveReturnedWith works with Map"] = `expect(jest.fn()).not.toHaveReturnedWith(expected) Expected: not Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["toHaveReturnedWith works with Map #1"] = `expect(jest.fn()).toHaveReturnedWith(expected) Expected: Map {"a" => "b", "b" => "a"} Received: Map {1 => 2, 2 => 1} Number of returns: 1`; module.exports["toHaveReturnedWith works with Set"] = `expect(jest.fn()).not.toHaveReturnedWith(expected) Expected: not Set {1, 2} Number of returns: 1`; module.exports["toHaveReturnedWith works with Set #1"] = `expect(jest.fn()).toHaveReturnedWith(expected) Expected: Set {3, 4} Received: Set {1, 2} Number of returns: 1`; module.exports["toHaveReturnedWith works with Immutable.js objects directly created"] = `expect(jest.fn()).not.toHaveReturnedWith(expected) Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["toHaveReturnedWith works with Immutable.js objects indirectly created"] = `expect(jest.fn()).not.toHaveReturnedWith(expected) Expected: not Immutable.Map {"a": {"b": "c"}} Number of returns: 1`; module.exports["toHaveReturnedWith a call that throws is not considered to have returned"] = `expect(jest.fn()).toHaveReturnedWith(expected) Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["toHaveReturnedWith a call that throws undefined is not considered to have returned"] = `expect(jest.fn()).toHaveReturnedWith(expected) Expected: undefined Received: function call threw an error Number of returns: 0 Number of calls: 1`; module.exports["toHaveReturnedWith returnedWith works with more calls than the limit"] = `expect(jest.fn()).toHaveReturnedWith(expected) Expected: "bar" Received 1: "foo1" 2: "foo2" 3: "foo3" Number of returns: 6`; module.exports["toHaveReturnedWith returnedWith incomplete recursive calls are handled properly"] = `expect(jest.fn()).toHaveReturnedWith(expected) Expected: undefined Received 1: function call has not returned yet 2: function call has not returned yet 3: function call has not returned yet Number of returns: 0 Number of calls: 4`; module.exports["toHaveReturnedWith includes the custom mock name in the error message"] = `expect(named-mock).toHaveReturnedWith(expected) Expected: "foo" Number of returns: 0`;