Skip to content

Conversation

@GLSea1979
Copy link

No description provided.

@@ -0,0 +1,117 @@
# Created by https://www.gitignore.io/api/node,vim,osx,macos,linux

*node_modules

Choose a reason for hiding this comment

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

Great job ignoring node modules here

gulp.watch(['**/*.js', '!node_modules'], ['lint', 'test']);
});

gulp.task('default', ['dev']);

Choose a reason for hiding this comment

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

Nice!


greet.sayHi('Gary');
greet.sayBye();
greet.greetStranger();

Choose a reason for hiding this comment

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

Great work writing a separate method to be able to handle the user input for the hello module!


module.exports = exports = {};

var strangerName = process.argv[2];

Choose a reason for hiding this comment

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

Nice work storing the process.argv into a variable to use more cleanly in your code later. :)

const expect = require('chai').expect;

describe('Greet Module', function() {
describe('#sayHi', function() {

Choose a reason for hiding this comment

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

Great tests. :)

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