Skip to content

Lab-Dana #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

dkulp23
Copy link

@dkulp23 dkulp23 commented Feb 14, 2017

Used modular pattern to create and simple object.
Created 3 tests; 1 for single input, 1 for empty input and 1 for multiple inputs.
Used the global process object in the script to create the command line utility.

describe('#multipleGreetings', function() {
it(`should return all names entered in command line`, function() {
let printout = howdy.multipleGreetings(process.argv);
assert.ok(printout === `Hey there ${hackyMessageVariable}`, 'not quite right');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great variable name. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants