Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running grunt-mocha without options.timeout defined causes Cannot read property 'toString' of undefined #14

Open
jung-kim opened this issue Mar 25, 2019 · 0 comments

Comments

@jung-kim
Copy link

    mochaTest: {
      unit: {
        options: {
          reporter: 'spec',
          require: './test/helper.js',
        },
        src: 'test/*.js'
      }
  }
$ grunt unittest
Running "mochaTest:unit" (mochaTest) task
Warning: Cannot read property 'toString' of undefined Use --force to continue.

Aborted due to warnings.

Only fix is defining options.timeout despite default is 5000 for that value.
removing the entire options block does not fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant