From 66e876e02f0210d2d102617608a18c4e944d7372 Mon Sep 17 00:00:00 2001 From: Michele Esposito Date: Thu, 29 Jun 2023 12:18:33 +0200 Subject: [PATCH] test: fix failing test --- ui/components/multichain/import-account/json.test.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/components/multichain/import-account/json.test.tsx b/ui/components/multichain/import-account/json.test.tsx index 31284c754a7a..5798b68f30dd 100644 --- a/ui/components/multichain/import-account/json.test.tsx +++ b/ui/components/multichain/import-account/json.test.tsx @@ -102,10 +102,7 @@ describe('Json', () => { fireEvent.click(importButton); await waitFor(() => { - expect(mockImportFunc).toHaveBeenCalledWith('JSON File', [ - '0', - 'password', - ]); + expect(mockImportFunc).toHaveBeenCalledWith('json', ['0', 'password']); }); }); });