3 Minutes with Kent
3 Minutes with Kent
Kent C. Dodds
Testing and Transpilation
2 minutes Posted Jun 24, 2016 at 2:40 am.
0:00
2:59
Download MP3
Show notes

I got a question

about why we test our pre-transpiled code (or rather, instrument that code
for coverage) rather than our post-transpiled code. So here's my answer. I
reference babel-plugin-__coverage__ (use this with
karma) and nyc (use this with tests
run in node, like with mocha or
ava).

Good luck!