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 27fc72f2b7..4a04855c34 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 @@ -10,6 +10,7 @@ export const SolidityUnitTesting = (props: SolidityUnitTestingProps) => { const [defaultPath, setDefaultPath] = useState('tests') const [disableCreateButton, setDisableCreateButton] = useState(true) const [disableStopButton, setDisableStopButton] = useState(true) + const [checkSelectAll, setCheckSelectAll] = useState(true) const handleTestDirInput = async (e:any) => { console.log('handleTestDirInput--e-->', e) @@ -153,6 +154,18 @@ export const SolidityUnitTesting = (props: SolidityUnitTestingProps) => { // runBtn.setAttribute('disabled', 'disabled') } + const checkAll = (event: any) => { + console.log('checkAll --event-->', event) + + // const checkBoxes = this._view.el.querySelectorAll('.singleTest') + // const checkboxesLabels = this._view.el.querySelectorAll('.singleTestLabel') + // // checks/unchecks all + // for (let i = 0; i < checkBoxes.length; i++) { + // checkBoxes[i].checked = event.target.checked + // this.toggleCheckbox(event.target.checked, checkboxesLabels[i].innerText) + // } + } + console.log('props---->', props) return (