Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

Mochacli error message just say "Error" #123

Open
CupOfTea696 opened this issue Jul 8, 2016 · 0 comments
Open

Mochacli error message just say "Error" #123

CupOfTea696 opened this issue Jul 8, 2016 · 0 comments

Comments

@CupOfTea696
Copy link

When my mochacli task fails, the message of the notification just reads "Error". It'd be nice if it could say how many tests failed or something.

Gruntfile experpt:

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    sass: {
      options: {
        gruntLogHeader: false,
        sourceMap: false,
        includePaths: [
          'scss'
        ]
      },
      test: {
        options: {
          outputStyle: 'expanded'
        },
        files: [
          {
            expand: true,
            cwd: 'tests',
            src: 'scss/fixtures/*.scss',
            dest: 'fixtures/$1.css',
            rename: rename
          }
        ]
      }
    },
    mochacli: {
      all: ['tests/*.test.js']
    },
    clean: {
      fixtures: ['tests/fixtures']
    },
    notify_hooks: {
      options: {
        enabled: true,
        title: '\\--csstyle 2'
      }
    },
    notify: {
      options: {
        title: '\\--csstyle 2'
      },
      test: {
        options: {
          message: 'Tests Complete'
        }
      }
    }
  });
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant