svinkle / launchy

Launchy: An Accessible Modal Window
https://svinkle.github.io/launchy
MIT License
104 stars 11 forks source link

Write some tests! #1

Open svinkle opened 7 years ago

svinkle commented 7 years ago

Let's write some tests! 🙂

In order for Launchy! 🚀 to reach 1.0 and to be recommended for production use, it needs more test coverage! Do you love writing tests? Please contribute!

Where to write tests?

You can write tests in the test/index.js file.

Check out how to get things setup locally in order to write and test your tests!

How to run the test suite?

In your terminal, run npm test and watch the magic happen!

connorphee commented 7 years ago

@svinkle I would love to give this a go!

svinkle commented 7 years ago

@connorphee Thanks! Go for it, and let me know if there are any setup issues.

connorphee commented 7 years ago

@svinkle I have written a few tests similar to the pre-existing ones, checking that certain things within the DOM exist. I assume however, that you are looking for some combination of more advanced UI tests, and unit tests?

svinkle commented 7 years ago

@connorphee Any type of test is much appreciated. If you'd like, create a PR and let's see what you've got so far.