|
|
|
@ -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>) |
|
|
|
|