1.2.2 (2017-04-24)
1.2.1 (2017-04-09)
1.2.0 (2016-11-13)
- use
process.cwd()
by default (67edccdb)
1.1.0 (2016-11-12)
1.0.1 (2016-07-30)
- upgrade minimatch to ^3.0.0 (5b63cc9)
1.0.0 (2015-08-21)
- transfer to power-assert-js organization (2e155de8)
- use options.cwd for default sourceRoot
0.11.0 (2015-05-06)
0.10.0 (2014-11-11)
- espower-loader:
- update espower-source to 0.10.0 (0994df9a)
- espower-loader: update espower-source to 0.9.1 (de14b9ad)
- espower-loader: use espower-source 0.9.0 (c5329f39)
- espower-loader: update espower-source to 0.8.0 (54c2143b)
If you already customize instrumentation pattern using powerAssertVariableName
and targetMethods
, you need to migarte. To migrate, change your code from the following:
require('espower-loader')({
cwd: process.cwd(),
pattern: 'test/**/*.js',
espowerOptions: {
powerAssertVariableName: 'yourAssert',
targetMethods: {
oneArg: [
'okay'
],
twoArgs: [
'equal',
'customEqual'
]
}
}
});
To:
require('espower-loader')({
cwd: process.cwd(),
pattern: 'test/**/*.js',
espowerOptions: {
patterns: [
'yourAssert(value, [message])',
'yourAssert.okay(value, [message])',
'yourAssert.equal(actual, expected, [message])',
'yourAssert.customEqual(actual, expected, [message])'
]
}
});