Least possible things you have to output for tap cause fuck frameworks.
var ok = require('okdone') , assert = require('assert') ; ok('message') assert.ok(true) ok() ok('yup') ok.done()
ESM native testing across all JS platforms.
tap-producing test harness for node and browsers
Bail out when the first TAP test fails
Mocha add-on method it.optional() which marks a test as pending if it would fail
Manage various forms of asynchronous completion in a uniform way
Controlled parallelism w/ async iterables.
remove assert calls from a stream of javascript
Pull mocha test code into your markdown, HTML, etc.
do things in development and nothing otherwise
Test your documentation
💩State-of-the-art shitcode principles your project should follow to call it a proper shitcode
通过一些常见问题或容易忽略的问题来系统学习JavaScript,每周更新。
A micro library that prevents unsafe coercion and property access in javascript
配置 jshint 的最佳实践