From 911116cb6d588521651f1cb2001eb47f01c32914 Mon Sep 17 00:00:00 2001 From: Jyoti Puri Date: Thu, 27 Oct 2022 13:34:48 +0400 Subject: [PATCH] fix build --- app/scripts/metamask-controller.actions.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/metamask-controller.actions.test.js b/app/scripts/metamask-controller.actions.test.js index fed3b0a74db7..b3eff23d7c6d 100644 --- a/app/scripts/metamask-controller.actions.test.js +++ b/app/scripts/metamask-controller.actions.test.js @@ -354,7 +354,7 @@ describe('MetaMaskController', function () { }; // Line below will not throw error, in case it throws this test case will fail. metamaskController.rejectPendingApproval('DUMMY_ID', { - code: 'DUMMY_CODE', + code: 1, message: 'DUMMY_MESSAGE', data: 'DUMMY_DATA', }); @@ -369,7 +369,7 @@ describe('MetaMaskController', function () { }; assert.throws(() => { metamaskController.rejectPendingApproval('DUMMY_ID', { - code: 'DUMMY_CODE', + code: 1, message: 'DUMMY_MESSAGE', data: 'DUMMY_DATA', });