-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow arbitrary commands, close #165
- Loading branch information
Showing
7 changed files
with
54 additions
and
24 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 |
---|---|---|
@@ -1,65 +1,73 @@ | ||
exports['utils getArguments handles 3 arguments with http-get url 1'] = { | ||
"start": "start", | ||
"start": "npm run start", | ||
"url": [ | ||
"http-get://localhost:8080" | ||
], | ||
"test": "test" | ||
"test": "npm run test" | ||
} | ||
|
||
exports['utils getArguments returns 3 arguments 1'] = { | ||
"start": "start", | ||
"start": "npm run start", | ||
"url": [ | ||
"http://localhost:8080" | ||
], | ||
"test": "test" | ||
"test": "npm run test" | ||
} | ||
|
||
exports['utils getArguments returns 3 arguments with url 1'] = { | ||
"start": "start", | ||
"start": "npm run start", | ||
"url": [ | ||
"http://localhost:8080" | ||
], | ||
"test": "test" | ||
"test": "npm run test" | ||
} | ||
|
||
exports['utils getArguments understands custom commands 1'] = { | ||
"start": "custom-command --with argument", | ||
"url": [ | ||
"http://localhost:3000" | ||
], | ||
"test": "test-command --x=1" | ||
} | ||
|
||
exports['utils getArguments understands several ports 1'] = { | ||
"start": "start", | ||
"start": "npm run start", | ||
"url": [ | ||
"http://localhost:3000", | ||
"http://localhost:4000", | ||
"http://localhost:5000" | ||
], | ||
"test": "test" | ||
"test": "npm run test" | ||
} | ||
|
||
exports['utils getArguments understands single :port 1'] = { | ||
"start": "start", | ||
"start": "npm run start", | ||
"url": [ | ||
"http://localhost:3000" | ||
], | ||
"test": "test" | ||
"test": "npm run test" | ||
} | ||
|
||
exports['utils getArguments understands single port 1'] = { | ||
"start": "start", | ||
"start": "npm run start", | ||
"url": [ | ||
"http://localhost:3000" | ||
], | ||
"test": "test" | ||
"test": "npm run test" | ||
} | ||
|
||
exports['utils getArguments understands start plus url 1'] = { | ||
"start": "start-server", | ||
"url": [ | ||
"http://localhost:6000" | ||
], | ||
"test": "test" | ||
"test": "npm run test" | ||
} | ||
|
||
exports['utils getArguments understands url plus test 1'] = { | ||
"start": "start", | ||
"start": "npm run start", | ||
"url": [ | ||
"http://localhost:6000" | ||
], | ||
"test": "test" | ||
"test": "npm run test" | ||
} |
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
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
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