resultStatistics

pull/1862/head
Aniket-Engg 3 years ago committed by Aniket
parent 216e9855d6
commit 747143c2f0
  1. 13
      libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx

@ -179,6 +179,15 @@ export const SolidityUnitTesting = (props: SolidityUnitTestingProps) => {
// return this.testFilesListElement
}
const createResultLabel = () => {
return (<span className='text-info h6'>Progress: none finished (of none)</span>)
// if (!this.data.selectedTests) return yo`<span></span>`
// const ready = this.readyTestsNumber ? `${this.readyTestsNumber}` : '0'
// return yo`<span class='text-info h6'>Progress: ${ready} finished (of ${this.runningTestsNumber})</span>`
}
const [resultStatistics] = useState(createResultLabel())
console.log('props---->', props)
return (
<div className="px-2" id="testView">
@ -239,8 +248,8 @@ export const SolidityUnitTesting = (props: SolidityUnitTestingProps) => {
</div>
{updateTestFileList()}
<div className="align-items-start flex-column mt-2 mx-3 mb-0">
{/* ${this.resultStatistics}
${this.testsExecutionStopped}
{resultStatistics}
{/* ${this.testsExecutionStopped}
${this.testsExecutionStoppedError} */}
</div>
{/* ${this.testsOutput} */}

Loading…
Cancel
Save