gulp-espower is a gulp plugin to instrument "Power Assert" feature into your code.
gulp-espower task uses
Pull-requests, issue reports and patches are always welcomed. See power-assert project for more documentation.
gulp-espower as a development dependency:
npm install --save-dev gulp-espower
Then, add it to your
var espower = ;gulp;
init gulp-sourcemaps prior to running the gulp-espower and
write the source maps after. gulp-espower works well with some gulp plugins that supports gulp-sourcemaps.
var espower = ;var coffee = ;var concat = ;var sourcemaps = ;// compile, instrument then concatinategulp;// will write the source maps inline in the code
For more information, see gulp-sourcemaps.
||objects shown below|
'assert(value, [message])''assert.ok(value, [message])''assert.equal(actual, expected, [message])''assert.notEqual(actual, expected, [message])''assert.strictEqual(actual, expected, [message])''assert.notStrictEqual(actual, expected, [message])''assert.deepEqual(actual, expected, [message])''assert.notDeepEqual(actual, expected, [message])''assert.deepStrictEqual(actual, expected, [message])''assert.notDeepStrictEqual(actual, expected, [message])'
Target patterns for power assert feature instrumentation.
If callee name (for example,
assert.equal) matches exactly and number of arguments is satisfied, then the assertion will be modified.
Detection is done by escallmatch. Any arguments enclosed in bracket (for example,
[message]) means optional parameters. Without bracket means mandatory parameters.
OUR SUPPORT POLICY
We support Node under maintenance. In other words, we stop supporting old Node version when their maintenance ends.
This means that any other environment is not supported.
NOTE: If espower-cli works in any of the unsupported environments, it is purely coincidental and has no bearing on future compatibility. Use at your own risk.
Licensed under the MIT license.