Search
4 results for “jrjurman”
-
After a long while tinkering with smaller and smaller ways to build re-usable pieces of HTML, I've landed on something that is simple, and uses the browsers built-in abilities to upgrade elements.
Introducing "ShadowRoot Injector" 🎉
https://github.com/Tram-One/shadowroot-injectorShadowRoot Injector is a way to declaratively define HTML, that will automatically insert when custom elements appear in the DOM. 🪡
Check out the link and examples, and let me know what y'all think!
#WebComponents #HTML #ShadowDOM #WebDev -
Added #e2e tests to Tram-Lite, using #cypress 🎉
In the past, I've usually leaned on #jest and #TestingLibrary but even for this super simple library, Cypress was easy, incredibly fast, and better reflects the actual behavior of the browser.
I understand for libraries it feels like unit-tests should be the go to, but over time I've realized that e2e forces you to put your library in real scenarios, rather than fake / idealized scenarios that might not happen.
-
@develwithoutacause @eliajf #Jest is definitely the industry standard, and has a lot of backing behind it - great interactive CLI and works great with tools like #testing-library and #jsdom - would definitely recommend checking that option out!
-
Hey All! #introduction time!
I’m a software engineer - focused on #frontend #webdev #CICD and #testing
I spend a lot of time building tiny libraries, useful chrome extensions, and simple web-apps
Outside of that, I spend a lot of time playing #boardgames, collecting #laserdiscs, and learning #steno
I'm excited to be here, and can't wait to see how this platform grows!