hey guys, not a prisma-related questions but hopef...
# random
t
hey guys, not a prisma-related questions but hopefully doesn't break any rules here šŸ˜„. I want to do some unit/visual testing with html/js and no framework (react, vue, angular,...). I'm hoping for something that is supported out of the box. I read through some articles stating that you can use jsdom alongside with jest to read a dummy html with your js inside and run some fun on it. Not sure whether that's good enough šŸ˜„. Any suggestions?
d
it really depends on what goal you want to achieve • fun stuff, where you can control interaction and thing, go to the thing like Cypress, Pupeteer, Playwright where you'll just load the page and interact with elements. Most of those come with an example of how to trigger real google search • If you just want to have a visual comparison, look up for visual regression test