diff --git a/packages/expect/src/__tests__/matchers.test.js b/packages/expect/src/__tests__/matchers.test.js index 9b5661339c0f..3634f3c98796 100644 --- a/packages/expect/src/__tests__/matchers.test.js +++ b/packages/expect/src/__tests__/matchers.test.js @@ -1217,7 +1217,7 @@ describe('.toBeCloseTo()', () => { const precision = 3; const expected = null; const received = Promise.resolve(0.1); - expect( + return expect( jestExpect(received).resolves.not.toBeCloseTo(expected, precision), ).rejects.toThrowErrorMatchingSnapshot(); }); diff --git a/yarn.lock b/yarn.lock index cc59dfb88153..44b7d35d16d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5426,9 +5426,9 @@ eslint-plugin-import@^2.6.0: resolve "^1.11.0" eslint-plugin-jest@^22.0.0: - version "22.8.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.8.0.tgz#242ef5459e8da25d2c41438e95eb546e03d7fae1" - integrity sha512-2VftZMfILmlhL3VMq5ptHRIuyyXb3ShDEDb1J1UjvWNzm4l+UK/YmwNuTuJcM0gv8pJuOfiR/8ZptJ8Ou68pFw== + version "22.12.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.12.0.tgz#6f83de048371ec8dda20f3195c76d1cd6fd8de71" + integrity sha512-Uoi4KvIJl59wgwjltgNhvVThQHbxs94TE3qUCg70aanjDk0IMWxKFa1K3F+9RHvcY0zddztbvX1IVDuR5a34ig== eslint-plugin-jsx-a11y@^6.0.2: version "6.2.3"