2

I am using gulp-mocha to execute my mocha tests with mochawesome-screenshots report

For a particular condition I should skip my test.

enter image description here

But in report and cli those tests are shown pending not skipped

enter image description here

enter image description here

I need to log the test which i skipped to be skipped not pending.

Thanks in advance.

Bharath Kumar S
  • 1,410
  • 2
  • 10
  • 29

1 Answers1

5

Skipped tests are "Pending" by definition in mocha:

Anything skipped will be marked as pending, and reported as such.

Yury Fedorov
  • 14,508
  • 6
  • 50
  • 66