-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When I started out this project, I was just eager to try out Deno Fresh1 and TypeScript2.
I did not really understand how to test web projects either back then. But after some with React3 and Jest4, I think I have an idea now on how I would go about structuring up these tests.
Another thing, that should maybe be its own issue, is that I should maybe have a more clearer structure on how my components are being used. Right now the Page component is like a "done framework" for my app. The only thing needed is the children props that are going to be my text for each page. I have some styling for the Button component and such that should maybe be done on a higher level, as in when to hide it and such.
Had I had tests from the start, maybe the things above may have been avoided. :)