fix description

pull/1/head
yann300 6 years ago
parent 2559c9796f
commit f53f2ce413
  1. 5
      src/app/tabs/styles/test-tab-styles.js
  2. 9
      src/app/tabs/test-tab.js

@ -53,6 +53,11 @@ var css = csjs`
${styles.rightPanel.testTab.button_generateTestFile};
min-width: 100px
}
.title {
font-size: 1.1em;
font-weight: bold;
margin-bottom: 1em;
}
`
module.exports = css

@ -150,8 +150,13 @@ module.exports = class TestTab {
var el = yo`
<div class="${css.testTabView}" id="testView">
<div class="${css.infoBox}">
Test your smart contract by creating a foo_test.sol file.
Open ballot_test.sol to see the example. For more details, see
<div class="${css.title}">Unit Testing</div>
Test your smart contract by creating a foo_test.sol file. Open ballot_test.sol to see the example.
<br/>
Then use the stand alone NPM module remix-tests to run unit tests in your Continuous Integration
<a href="https://www.npmjs.com/package/remix-tests">https://www.npmjs.com/package/remix-tests</a>.
<br/>
For more details, see
How to test smart contracts guide in our documentation.
<div class=${css.generateTestFile} onclick=${generateTestFile}>Generate test file</div>
</div>

Loading…
Cancel
Save