power-assert-formatter
Advanced tools
Changelog
0.10.0 (2014-11-11)
new options
power-assert-formatter:
Changelog
0.9.0 (2014-09-02)
If you are customizing renderers by options.renderers
, you may have to migrate.
To migrate, change your code from the following:
[
'file',
'assertion',
'diagram',
'binary-expression'
]
To:
[
'./built-in/file',
'./built-in/assertion',
'./built-in/diagram',
'./built-in/binary-expression'
]
Changelog
0.8.0 (2014-08-12)
stringifyDepth
does not supported any more. use maxDepth
option instead.If you already customize formatter config using stringifyDepth
, you need to migarte. To migrate, change your code from the following:
var createFormatter = require('power-assert-formatter');
var options = {
stringifyDepth: 2
};
var formatter = createFormatter(options);
To:
var createFormatter = require('power-assert-formatter');
var options = {
maxDepth: 1
};
var formatter = createFormatter(options);
Beware that stringifyDepth - 1 === maxDepth
!