Skip to content
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

fixes: #45 [WIP] add more test cases #46

Closed
wants to merge 1 commit into from
Closed

Conversation

isuruAb
Copy link
Contributor

@isuruAb isuruAb commented Sep 1, 2017

Fixes issue #45
Changes: added more test cases

it("should initialize react app with git repository with eslint configuration", function (done) {
init.initialize("../test-project", 'https://github.com', true, function (result) {
rmdir("../test-project", err => {
if (err) throw new Error("failed");

Choose a reason for hiding this comment

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

Using 'assert.fail' would be ideal than throwing an exception explicitly

http://chaijs.com/api/assert/#method_fail

@isuruAb isuruAb closed this Oct 8, 2018
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