1.1.0 (2016-11-22)
1.0.2 (2015-12-10)
- fix typo in PluginError call (070431fe)
1.0.1 (2015-10-08)
- update espower to 1.0.7 (5173f4b)
- update vinyl-sourcemaps-apply to 0.2.0 (7ae9fcb)
- update bufferstreams to 1.1.0 (1c19377)
1.0.0 (2015-08-22)
- should emit error when the file has a syntax error, even if using Streams (a786374d)
- transfer to power-assert-js organization (a6df50ab)
- use file.cwd for default sourceRoot
0.10.1 (2015-03-04)
- fix a bug that throw an error when the file has a syntax error (603a681b) (by @bouzuya)
0.10.0 (2014-11-11)
- update espower and espower-source to 0.9.1 (681f1ab9)
- update espower-source to 0.8.0 (a9ab1f7d)
If you already customize instrumentation pattern using powerAssertVariableName
and targetMethods
, you need to migarte. To migrate, change your code from the following:
var espower = require("gulp-espower");
gulp.src("./test/*.js")
.pipe(espower({
powerAssertVariableName: 'yourAssert',
targetMethods: {
oneArg: [
'okay'
],
twoArgs: [
'equal',
'customEqual'
]
}
}))
.pipe(gulp.dest("./dist"));
To:
var espower = require("gulp-espower");
gulp.src("./test/*.js")
.pipe(espower({
patterns: [
'yourAssert(value, [message])',
'yourAssert.okay(value, [message])',
'yourAssert.equal(actual, expected, [message])',
'yourAssert.customEqual(actual, expected, [message])'
]
}))
.pipe(gulp.dest("./dist"));