UNPKG

agson

Version:

Querying and manipulating JSON graphs

12 lines (11 loc) 399 B
module.exports = (grunt) -> grunt.registerTask 'test', -> # Pass cli flags to mochacov options because they aren't used automatically grunt.config.set 'mochacov.options', grep: grunt.option('grep'), invert: grunt.option('invert') || false reporter: grunt.option('reporter') || 'spec' timeout: grunt.option('timeout') grunt.task.run [ 'mochacov:dev' ]