Skip to content

Commit 651c9dd

Browse files
committed
fix test file listing after deletion
1 parent b39aaf3 commit 651c9dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const SolidityUnitTesting = (props: Record<string, any>) => { // eslint-d
153153
await setCurrentPath(defaultPath)
154154
})
155155

156-
testTab.fileManager.events.on('noFileSelected', () => { }) // eslint-disable-line
156+
testTab.fileManager.events.on('noFileSelected', async () => { await updateForNewCurrent() })
157157
testTab.fileManager.events.on('currentFileChanged', async (file: string) => await updateForNewCurrent(file))
158158

159159
}, []) // eslint-disable-line

0 commit comments

Comments
 (0)