• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mochajs / mocha / 7384
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v11.x
DEFAULT BRANCH: main
Ran 12 May 2020 06:14PM UTC
Jobs 1
Files 49
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7384

push

travis-ci

web-flow
<a href="https://github.com/mochajs/mocha/commit/<a class=hub.com/mochajs/mocha/commit/<a class="double-link" href="https://git"><a class=hub.com/mochajs/mocha/commit/<a class="double-link" href="https://git"><a class=hub.com/mochajs/mocha/commit/<a class="double-link" href="https://git"><a class=hub.com/mochajs/mocha/commit/184036f00878c041252601d5959bf86b2d8d80b6">184036f00">&lt;a href=&quot;https://github.com/mochajs/mocha/commit/</a><a class="double-link" href="https://github.com/mochajs/mocha/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/mochajs/mocha/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/mochajs/mocha/commit/184036f00878c041252601d5959bf86b2d8d80b6">184036f00</a><a href="https://github.com/mochajs/mocha/commit/184036f00878c041252601d5959bf86b2d8d80b6">&lt;a href=&quot;https://github.com/mochajs/mocha/commit/184036f00878c041252601d5959bf86b2d8d80b6&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/mochajs/mocha/commit/184036f00878c041252601d5959bf86b2d8d80b6&amp;quot;&amp;gt;&amp;amp;quot;&amp;amp;gt;--forbid-only doesn&amp;amp;amp;#39;t recognize `it.only` when `before` crashes (#4256); closes #3840

* add fixtures that result in it.only combined with --forbid-only bug

* adapt forbidonly test cases to cover it.only bug

* check if forbid only option is set prior to marking a test only and throw error

* change name of only test back to previous

* use custom assertion for expecting error in forbidOnly tests

* remove empty line

* use createUnsupportedError instead of throw new Error

* use createUnsupportedError instead of throw new Error

* remove check if suite hasOnly and forbidOnly option is set as this is done before runtime

* implement markOnly instance method in suite class

* add unit test for suites markOnly method

* throw exception if --forbid-only option is set even if suite is not selected by grep

* adapt forbidOnly integration tests to check for failure</a> if only suite is not selected by grep

* fix jsdocs of suite markonly

* Revert &amp;amp;quot;fix jsdocs of suite markonly&amp;amp;quot;

This reverts commit &amp;lt;/a&amp;gt;&amp;lt;a class=&amp;quot;double-link&amp;quot; href=... (continued)

1034 of 1202 branches covered (86.02%)

5 of 5 new or added lines in 1 file covered. (100.0%)

2812 of 3019 relevant lines covered (93.14%)

538.72 hits per line

Jobs
ID Job ID Ran Files Coverage
6 7384.6 12 May 2020 06:14PM UTC 0
93.14
Travis Job 7384.6
Source Files on build 7384
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7384
  • 184036f0 on github
  • Prev Build on master (#7377)
  • Next Build on master (#7407)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc