Skip to content

Configering Mocha isnt working #1181

Answered by djelinek
HiranMadhu asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, I am not the exact Mocha expert but I have tried locally and for me the Mocha config file loaded by ExTester seems work as expected.

by default Mocha is using reporter: 'spec' which output looks:

Launching tests...
  ProblemsView
    ✔ get all markers works (38ms)
    ✔ get warnings works (93ms)
    ✔ get errors works (75ms)
    ✔ get files works (89ms)
    ✔ filtering works (691ms)
    Marker
      ✔ getType works (78ms)
      ✔ getText works (75ms)
      ✔ toggleExpand works (265ms)
      ✔ click works (168ms)

when I used custom .mochaarc.js with content:

module.exports = {
    reporter: 'list'
}

the output was changed to list as you can see below:

Launching tests...
  ✔ Problem…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by djelinek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants