teacherfund / TeacherFund_next

A website to fund teachers discretionary spending because the government sucks at it
https://theteacherfund.com
MIT License
90 stars 87 forks source link

Feature/179 implement msw #205

Open KrazyK786 opened 3 years ago

KrazyK786 commented 3 years ago

Took a crack at the Mock Service Worker implementation and mocked out all the Stripe endpoints used during Stripe processing. Set the stripe token to be mocked if the stripe environmental variable is set to 'test'. Tried to make sure it was at least 'decent', but let me know if it's remotely acceptable and any changes I need to make 🙇🏾‍♂️

vercel[bot] commented 3 years ago

@KrazyK786 is attempting to deploy a commit to the Teacherfund Team on Vercel.

A member of the Team first needs to authorize it.

joelwass commented 2 years ago

Hey @KrazyK786 ! So sorry i'm just now looking at this, i remember checking it out but it's hard to tell the diffs because it looks like you put this code through some formatter, so it's really hard to see what we'd be merging, if you're up for it, could you clean up the formatting (or add it in another PR that is just formatting changes) and also resolve the merge conflicts and i'll kick off a build?