Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Oct 27, 2022
1 parent 57b9d7d commit 911116c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/metamask-controller.actions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});
Expand All @@ -369,7 +369,7 @@ describe('MetaMaskController', function () {
};
assert.throws(() => {
metamaskController.rejectPendingApproval('DUMMY_ID', {
code: 'DUMMY_CODE',
code: 1,
message: 'DUMMY_MESSAGE',
data: 'DUMMY_DATA',
});
Expand Down

0 comments on commit 911116c

Please sign in to comment.