Closed sulthan-ahmed closed 6 years ago
Looks legit. I'm not a fan of the inconsistent npm script naming (either prefix with test:
or don't, but do the same everywhere) but that's not in scope here.
(although I would merge the hell out of a PR that made it consistent while you have the code open)
so you would have done "unit": "_mocha" instead?
Or made the other test scripts be test:thing
. Either is fine, but they should be consistent.
(I have a mild preference towards test:*
)
Add a test for this too