parse5 icon indicating copy to clipboard operation
parse5 copied to clipboard

Switch test runner

Open fb55 opened this issue 3 years ago • 1 comments

We discussed this in https://github.com/inikulin/parse5/pull/362#pullrequestreview-852749377. Jest works alright as a test runner for now, but I'm happy to switch should we agree on an alternative.

fb55 avatar Mar 24 '22 15:03 fb55

we could just use mocha and c8? or uvu and c8?

uvu has pretty poor reporting unfortunately (no CI integration). in the past i've made use of its assertion library though paired with mocha for better reporting (i.e. so you can get test results etc in CI).

since the new version of parse5 might also work out of the box in browsers, it may be worth having a small suite of tests that ensure it runs there. via puppeteer or web-test-runner.

43081j avatar Mar 24 '22 17:03 43081j