Skip to content
New issue

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

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

Already on GitHub? # to your account

Cannot read property 'toString' of undefined with mocha 6.x upgrade #139

Open
bonesoul opened this issue Mar 13, 2019 · 3 comments
Open

Comments

@bonesoul
Copy link

here is my config;

  mochaTest: {
     options: {
       reporter: 'mochawesome',
       reporterOptions: {
         reportDir: 'build/test/mocha/',
         reportName: 'result',
         inlineAssets: true
       },
       quiet: false,
       ignoreLeaks: true,
       globals: ['app', 'env']
     },
     src: ['tests/**/*.js']
   },

and getting this after upgrading to mocha 6.x series

Warning: Cannot read property 'toString' of undefined Use --force to continue.

@bonesoul
Copy link
Author

related to; almirfilho@8cdb5ae

@stephenh
Copy link

Ran into the same thing; thanks @bonesoul for the link to the fix!

@bonesoul
Copy link
Author

hopefully we can get a proper fix soon :/

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

No branches or pull requests

2 participants