@task
@cmdopts([('suite=', 's', 'Test suite to run'), ('port=', 'p', 'Port to run test server on')])
@timed
def test_js_dev(options):
 options.mode = 'dev'
 test_js(options)

@ task @ cmdopts ( [ ( 'suite=' , 's' , 'Test suite to run' ) , ( 'port=' , 'p' , 'Port to run test server on' ) ] ) @ timed def test_js_dev ( options ) : options . mode = 'dev' test_js ( options )
run the javascript tests in your default browsers .