Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring Utest.js to improve code maintainability:
*Rename version variable to make it more clear *Remove comments that are not necessary *Move styling of the output into style.js file in the styling folder *Rename variables that holds response status to make it more clear
- Loading branch information
1 parent
e9e8c02
commit aca94df
Showing
2 changed files
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
//styling of the box for the tool name and version | ||
const boxenOptions = { | ||
padding: 1, | ||
margin: 1, | ||
borderStyle: "round", | ||
borderColor: "green", | ||
backgroundColor: "#555555", | ||
}; | ||
|
||
|
||
module.exports.boxenOptions = boxenOptions; |