zac anger is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
zac anger @zacanger

if i wrote a thing that was like doctests using jsdoc and tape, would anyone be interested in using it?

· Web · 0 · 1

i've found exactly one actually maintained lib for doctests using jsdoc examples, but it uses mocha, which i don't love

@zacanger I've done very little unit testing but this sounds interesting, keep us posted if you end up going along with it

@cedricium it exists now! very rough and buggy, but it works for basic cases: npm.im/jsdoctap

@zacanger right on! Will try implementing with my current project, nice work mate 👌

@cedricium thanks! let me know how it goes! there are several things on the roadmap that might be problematic (no babel support yet, helper functions in examples don't work), but i'm hoping to get those fixed this week