mytest.js 285 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 /*jshint strict:false*/ /*global CasperError casper console phantom require*/ casper.start('about:blank', function() { this.test.pass('ok1'); }); casper.then(function() { this.test.pass('ok2'); }); casper.run(function() { this.test.pass('ok3'); this.test.done(); });