njosefbeck / gatsby-source-stripe

Gatsby source plugin for building websites using Stripe as a data source
74 stars 17 forks source link

Add initial tests #32

Closed njosefbeck closed 5 years ago

njosefbeck commented 5 years ago

So I've added some initial tests for the project using Jest. This also involved adding some additional npm scripts.

If you wouldn't mind pulling down this branch and making sure the tests run for you, and that all the npm scripts work, that'd be great.

Thanks!

brxck commented 5 years ago

After fixing the issue above, all tests run and pass on my machine. It's really good to see testing on this project!

njosefbeck commented 5 years ago

@brxck Okay I think I've fixed all the file name shenanigans. Can you check once more that everything works for you? Then I can go ahead and merge this baby!

Yay for tests!

brxck commented 5 years ago

Sorry for the delay, everything works over here!