From 8c0a42fa9f5cdad081c2c471cc595b08fcb666d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Thu, 11 Apr 2019 19:30:20 +0200 Subject: [PATCH] fix test --- packages/cli/src/commands/link/__tests__/link-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/commands/link/__tests__/link-test.js b/packages/cli/src/commands/link/__tests__/link-test.js index c409283f31..6f93f11807 100644 --- a/packages/cli/src/commands/link/__tests__/link-test.js +++ b/packages/cli/src/commands/link/__tests__/link-test.js @@ -55,8 +55,8 @@ describe('link', () => { }); it('should register native module when android/ios projects are present', done => { - const prelink = jest.fn().mockImplementation(cb => cb()); - const postlink = jest.fn().mockImplementation(cb => cb()); + const prelink = jest.fn(); + const postlink = jest.fn(); const registerNativeModule = jest.fn(); const config = {