     noflo_browser_mocha:
       all:
         options:
-          scripts: ["../browser/<%=pkg.name%>.js"]
+          scripts: ["../browser/<%=pkg.name%>.min.js"]
         files:
           'spec/runner.html': ['spec/*.js']
 

    uglify:
      options:
        report: 'min'
      noflo:
        files:
          "./browser/<%=pkg.name%>.min.js": ["./browser/<%=pkg.name%>.js"]


  @registerTask 'test', 'Build NoFlo and run automated tests', (target = 'all') =>
    @task.run 'coffeelint'
    @task.run 'build'
    if target is 'all' or target is 'nodejs'
      @task.run 'mochaTest'
    if target is 'all' or target is 'browser'
      @task.run 'noflo_browser_mocha'
      @task.run 'mocha_phantomjs'

