update test files on generate file

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

@ -324,7 +324,10 @@ export const SolidityUnitTesting = (props: any) => {
data-id="testTabGenerateTestFile"
title="Generate sample test file."
disabled={disableGenerateButton}
onClick={testTabLogic.generateTestFile.bind(testTabLogic)}
onClick={() => {
testTabLogic.generateTestFile()
updateForNewCurrent()
}}
>
Generate
</button>

Loading…
Cancel
Save