     env:
       default:
         LIB_FOR_TESTS_DIR: srcLibForTestsDir
-      mochaTest:
+      test:
         NODE_ENV: 'testing'
       coverage:
         LIB_FOR_TESTS_DIR: lcovLibForTestsDir


    watch:
      files: ['Gruntfile.coffee', 'test/**/*.js', 'lib/**/*.js']
      tasks: ['jshint','mochaTest']

    instrument:
      files: './lib/**/*.js'

  grunt.loadNpmTasks('grunt-istanbul-coverage')
  grunt.loadNpmTasks('grunt-notify')

  grunt.registerTask 'test', ['env:test', 'jshint', 'mochaTest']

  grunt.registerTask 'cover', [
    'clean:coverage',
    'env:coverage',
    'instrument',
    'test',
    'storeCoverage',
    'makeReport',
    'coverage'
  ]

  grunt.registerTask 'default', ['cover']

#  grunt.registerMultiTask 'coverme', 'istanbul code coverage', () ->
#    done = this.async()
