3 ms·
Take a look at this example of relatively complicated component-tests w/ markojs. It is an example of testing a transcluded component's variation (arguably ver
by ramses0 9y ago
Take a look at this example of relatively complicated component-tests w/ markojs. It is an example of testing a transcluded component's variation (arguably very valuable and complicated to test) and all the code, setup, tests, etc. are very straightforward to understand.
https://github.com/marko-js/marko/blob/master/test/autotests/components-browser/transclusion-body-slot-tag/test.js https://github.com/marko-js/marko/blob/master/test/autotests...