Closed giltayar closed 4 years ago
Either way, this seems like a good idea. BTW, I think assert.match
is a Node 12+ -ism
Oops. Ouch. I'll fix that. In my usual projects, I have an eslint plugin that warns me of these problems, so I've stopped looking.
Landed in 6.0.2
If a test module fails to load (syntax error or any other exception), teenytest is currently silent about it. Not sure whether this is a regression due to the ESM change, or was always like this, but this PR fixes it (with a test).