fix initial load on folder chang

pull/5370/head
Aniket-Engg 3 years ago committed by Aniket
parent 2b271fab26
commit 14c2acb723
  1. 5
      libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx

@ -261,11 +261,12 @@ export const SolidityUnitTesting = (props: any) => {
const updateTestFileList = () => {
console.log('updateTestFileList--tests->', allTests)
if(allTests?.length) {
if(allTests?.length)
testFiles = allTests.map((testFile) => { return {'fileName': testFile, 'checked': true }})
else
testFiles = []
setTestFiles(testFiles)
}
}
const createResultLabel = () => {
return (<span className='text-info h6'>Progress: none finished (of none)</span>)

Loading…
Cancel
Save