Skip to content

Commit

Permalink
Update a test
Browse files Browse the repository at this point in the history
  • Loading branch information
dan437 committed Nov 4, 2024
1 parent 71cb5b2 commit 5c2701e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,12 @@ describe('PreferencesController', () => {
expect(controller.state.showIncomingTransactions['0x1']).toBe(false);
});

it('should set smartTransactionsOptInStatus to false', () => {
it('should set smartTransactionsOptInStatus', () => {
const controller = setupPreferencesController();
controller.setSmartTransactionsOptInStatus(false);
expect(controller.state.smartTransactionsOptInStatus).toBe(false);
controller.setSmartTransactionsOptInStatus(true);
expect(controller.state.smartTransactionsOptInStatus).toBe(true);
});

it('should set useTransactionSimulations', () => {
Expand Down

0 comments on commit 5c2701e

Please sign in to comment.