step_throws.js 223 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 /*eslint strict:0*/ casper.test.begin('step throws', 1, function(test) { casper.start(); casper.then(function() { throw new Error('oops!') }); casper.run(function() { test.done(); }) });