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

Implement _check #141

Merged
merged 1 commit into from
Mar 11, 2018
Merged

Implement _check #141

merged 1 commit into from
Mar 11, 2018

Conversation

mnpal
Copy link

@mnpal mnpal commented Mar 11, 2018

In src/calculator.js, I have implemented the _check() and used it for checking the typeError of the input values x and y.
Apart from this, in src/calculator.test.js, I have modified the function name describe.skip() to describe() in line 4.

@dantharejabot
Copy link
Collaborator

Yay, a pull request!

After you submit a pull request, one of the following will happen:

😭 You don’t get a response. 😭

Even on an active project, it’s possible that your pull request won’t get an immediate response. You should expect some delay as most open source maintainers do so in their free time and can be busy with other tasks.

If you haven’t gotten a response in over a week, it’s fair to politely respond in the same thread, asking someone for a review. If you know the handle of the right person to review your pull request, you can @-mention them to send them a notification. Avoid reaching out to that person privately; remember that public communication is vital to open source projects.

If you make a polite bump and still nobody responds, it’s possible that nobody will respond, ever. It’s not a great feeling, but don’t let that discourage you. It’s happened to everyone! There are many possible reasons why you didn’t get a response, including personal circumstances that may be out of your control. Try to find another project or way to contribute. If anything, this is a good reason not to invest too much time in making a pull request before other community members are engaged and responsive.

🚧 You're asked to make changes to your pull request. 🚧

It’s very common that someone will request changes on your pull request, whether that’s feedback on the scope of your idea, or changes to your code. Often a pull request is just the start of the conversation.

When someone requests changes, be responsive. They’ve taken the time to review your pull request. Opening a PR and walking away is bad form. If you don’t know how to make changes, research the problem, then ask for help if you need it.

If you don’t have time to work on the issue anymore (for example, if the conversation has been going on for months, and your circumstances have changed), let the maintainer know so they’re not expecting a response. Someone else may be happy to take over.

👎 Your pull request doesn’t get accepted. 👎

It's possible your pull request may or may not be accepted in the end. If you’re not sure why it wasn’t accepted, it’s perfectly reasonable to ask the maintainer for feedback and clarification. Ultimately, however, you’ll need to respect that this is their decision. Don’t argue or get hostile. You’re always welcome to fork and work on your own version if you disagree!

🎉 Your pull request gets accepted and merged. 🎉

Hooray! You’ve successfully made an open source contribution!


Thank you for the submission, @manp3104! I'll review your code shortly, hang tight.

Copy link
Collaborator

@dantharejabot dantharejabot left a comment

Choose a reason for hiding this comment

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

All of the tests are passing and the code is clean.

This is a huge improvment for our codebase's maintainability. The team is going to be stoked to see your contribution when they get back from vacation.

Well done, @manp3104 👏

@dantharejabot dantharejabot merged commit bf9d40b into danthareja:manp3104 Mar 11, 2018
@dantharejabot
Copy link
Collaborator

🎉 You did it! 🎉

You're an open source contributor now!

Whether this was your first pull request, or you’re just looking for new ways to contribute, I hope you’re inspired to take action. Don't forget to say thanks when a maintainer puts effort into helping you, even if a contribution doesn't get accepted.

Open source is made by people like you: one issue, pull request, comment, and +1 at a time.

What's next?

Find your next project:

Learn from other great community members:

Elevate your Git game:

  • Try Git - an interactive tutorial made by GitHub
  • Learn Git - video and written lessons for the command line and desktop client
  • Learn Git Branching - an interactive tutorial diving deep into branching
  • GitHub Flow - a video explaining the pull request process on GitHub

Questions? Comments? Concerns?

I'm always open to feedback. If you had a good time with the exercise, or found some room for improvement, please email me.

Want to start over? Just delete your fork.
Want to see behind the scenes? Check out the server code.

This branch will be automatically deleted after one week with no merged pull requests

@mnpal
Copy link
Author

mnpal commented Mar 11, 2018

While explaining the issue DRY up the codebase #1, in one of the step it's mentioned to change describe.only to describe to so that all tests run. But in the src/calculator.test.js file, it's 'describe.skip', not 'describe.only'.

Thanks

@danthareja
Copy link
Owner

Thanks for the note out @manp3104.

The instruction you mention comes after* a previous step that says

change describe.skip to describe.only.

If you follow both steps in order, by the time you get to the one you mentioned, your file should have temporarily been changed to describe.only. It's easy to miss though!

@dantharejabot
Copy link
Collaborator

Hello again, @manp3104! I want to congratulate you again for completing this challenge. Hopefully you've started to get out there and apply your knowledge to another project.

Since you haven't pushed a commit in a while, I'm going to delete your branch in order to make room for others actively particiating. You'll still have access to your fork, but you won't be able to submit anymore pull requests to this branch.

Don't worry though! If you decide that you do want a new branch, you can delete your fork and re-fork the original project.

Happy Hacking!

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.

3 participants