hook.js 200 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 /* global casper */ casper.test.on('fail', function doSomething() { 'use strict'; casper.echo('fail event fired!'); }); casper.test.begin('hook', 0, function(t) { 'use strict'; t.done(); });