Skip to content

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