I'm trying to find a way to build a static page with tested code that doesn't use React or templating.
Just HTML, CSS and some easy wiring to the tested code.
I am struggling!
I'm trying to find a way to build a static page with tested code that doesn't use React or templating.
Just HTML, CSS and some easy wiring to the tested code.
I am struggling!
@caseyleask
Can you define what you mean by "templating"?
If you can't use *any* technology which renders HTML from data, then aren't you limited to creating pages by hand?
MDN coming in clutch https://github.com/mdn/js-examples/tree/main/module-examples/basic-modules
@negative12dollarbill at the most basic level, `expect(method_under_test(args)).toEqual(expected);`
If everything is in-line on the page, you can't really do that.