parse5 icon indicating copy to clipboard operation
parse5 copied to clipboard

chore: migrate from jest to mocha

Open 43081j opened this issue 1 year ago • 3 comments

Migrates from jest to mocha, c8 and tinyspy.

43081j avatar Sep 19 '24 11:09 43081j

Coverage Status

coverage: 71.18% (-28.2%) from 99.34% when pulling 44b3a6b1d97bfb2e933f305d80a860c34021a0aa on chopchop-mocha into 57a192a03501395ce10759c4f2c1be22a61b0b32 on master.

coveralls avatar Sep 19 '24 11:09 coveralls

The coverage drop suggests we missed some test files. I'll take a look 👍

Also this depends on #1267 to avoid having to do the lint config twice

43081j avatar Sep 19 '24 12:09 43081j

the exact same number of tests run but the coverage is way down on the tokenizer, so I'm taking a look into that

super strange since the coverage is clearly setup to find the right files, it just calculates a much lower value

maybe jest was lying 🤔

43081j avatar Sep 21 '24 07:09 43081j

giving up on this for #1376 instead which has working coverage

43081j avatar Jan 21 '25 17:01 43081j