UNPKG

casperjs

Version:

A navigation scripting & testing utility for PhantomJS and SlimerJS

11 lines (9 loc) 200 B
/* 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(); });