From 651c9dd9434efa5085d6c3309ce2ffad369bb063 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Tue, 18 Jan 2022 14:15:48 +0530 Subject: [PATCH] fix test file listing after deletion --- .../solidity-unit-testing/src/lib/solidity-unit-testing.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx b/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx index db799747b8..9f9da608f9 100644 --- a/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx +++ b/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx @@ -153,7 +153,7 @@ export const SolidityUnitTesting = (props: Record) => { // eslint-d await setCurrentPath(defaultPath) }) - testTab.fileManager.events.on('noFileSelected', () => { }) // eslint-disable-line + testTab.fileManager.events.on('noFileSelected', async () => { await updateForNewCurrent() }) testTab.fileManager.events.on('currentFileChanged', async (file: string) => await updateForNewCurrent(file)) }, []) // eslint-disable-line