Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash Rathore committed Oct 11, 2019
1 parent fcd9b77 commit 886c512
Show file tree
Hide file tree
Showing 7 changed files with 1,217 additions and 36 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

Empty file added __tests__/index.js
Empty file.
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
['@babel/preset-env', { targets: { node: 'current' } }]
]
}
206 changes: 173 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"chalk": "^2.4.2",
"cp": "^0.2.0",
"esm": "^3.2.18",
"execa": "^2.1.0",
"listr": "^0.14.3"
},
"files": [
Expand Down
2 changes: 2 additions & 0 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export function parseArgumentsIntoOptions(rawArgs) {
export async function cli(args) {
const options = parseArgumentsIntoOptions(args);

console.log('hello')

if (!options.jsonFile) {
console.error("%s --json-file is required", chalk.red.bold("ERROR"));

Expand Down
Loading

0 comments on commit 886c512

Please sign in to comment.