root test file creation

pull/1930/head^2
aniket-engg 3 years ago committed by Aniket
parent b6ae0e0e07
commit 8e8d840848
  1. 1
      libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx

@ -672,6 +672,7 @@ export const SolidityUnitTesting = (props: Record<string, any>) => { // eslint-d
value={inputPathValue} value={inputPathValue}
title="Press 'Enter' to change the path for test files." title="Press 'Enter' to change the path for test files."
style={{ backgroundImage: "var(--primary)" }} style={{ backgroundImage: "var(--primary)" }}
onKeyDown={() => { if (inputPathValue === '/') setInputPathValue('')} }
onKeyUp={handleTestDirInput} onKeyUp={handleTestDirInput}
onChange={handleEnter} onChange={handleEnter}
onClick = {() => { if (inputPathValue === '/') setInputPathValue('')} } onClick = {() => { if (inputPathValue === '/') setInputPathValue('')} }

Loading…
Cancel
Save