/*
 * generator-init
 * https://github.com/use-init/generator-init
 *
 */

'use strict';

module.exports = function (grunt) {
  // Load all grunt tasks matching the `grunt-*` pattern.
  require('load-grunt-tasks')(grunt);

  // Project configuration.
  grunt.initConfig({
    jshint: {
      all: [
        'Gruntfile.js',
        'app/index.js',
        'lib/*.js',
        'page/index.js',
        'module/index.js',
        'jqueryplugin/index.js',
        'page/index.js',
        '<%= mochaTest.test.src%>'
      ],
      options: {
        jshintrc: '.jshintrc'
      }
    },

    // Before generating any new files, remove any previously-created files.
    clean: {
      tests: ['tests/temp']
    },

    // Unit tests.
    mochaTest: {
      test: {
        options: {
          reporter: 'spec'
        },
        src: ['test/*.js']
      }
    }

  });

  // Whenever the "test" task is run, first clean the "temp" dir, then run this
  // plugin's task(s), then test the result.
  grunt.registerTask('test', ['clean', 'mochaTest']);

  // By default, lint and run all tests.
  grunt.registerTask('default', ['clean', 'jshint', 'mochaTest']);
};

@@ -681,17 +681,16 @@
 test
-s
 : %5B'test
 s/te
@@ -685,17 +685,16 @@
 : %5B'test
-s
 /temp'%5D%0A

Rename clean folder to test/tmp