Package: node-chalk / 2.3.0-2

Metadata

Package Version Patches format
node-chalk 2.3.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
00 mocha.diff | (download)

test/chalk.js | 94 47 + 47 - 0 !
test/constructor.js | 18 9 + 9 - 0 !
test/enabled.js | 26 13 + 13 - 0 !
test/level.js | 33 14 + 19 - 0 !
test/template-literal.js | 100 50 + 50 - 0 !
test/windows.js | 30 15 + 15 - 0 !
6 files changed, 148 insertions(+), 153 deletions(-)

 change from ava to mocha as test runner (ava is not yet
 available as a Debian package).
 Something like:
 sed -i 's/t => {/function() {/g' test.js 
 sed -i 's/t.is/assert.equal/g' test.js 
 sed -i 's/t.false\(/assert(!/g'
 sed -i 's/t.true/assert/g'