Js-mocha

Latest version: v2.2.5

Safety actively analyzes 631030 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 22

1.11.0

- add --prof support
- add --harmony support
- add --harmony-generators support
- add "Uncaught " prefix to uncaught exceptions
- add web workers support
- add `suite.skip()`
- change to output of pending / passing even on failures. Closes 872
- fix: prevent hooks from being called if we are bailing
- fix `this.timeout(0)`

1.10.0

- add add better globbing support for windows via `glob` module
- add support to pass through flags such as --debug-brk=1234. Closes 852
- add test.only, test.skip to qunit interface
- change to always use word-based diffs for now. Closes 733
- change `mocha init` tests.html to index.html
- fix `process` global leak in the browser
- fix: use resolve() instead of join() for --require
- fix: filterLeaks() condition to not consider indices in global object as leaks
- fix: restrict mocha.css styling to mocha id
- fix: save timer references to avoid Sinon interfering in the browser build.

1.9.0

- add improved setImmediate implementation
- replace --ignore-leaks with --check-leaks
- change default of ignoreLeaks to true. Closes 791
- remove scrolling for HTML reporter
- fix retina support
- fix tmbundle, restrict to js scope

1.8.2

- add `setImmediate` support for 0.10.x
- fix mocha -w spinner on windows

1.8.1

- fix .bail() arity check causing it to default to true

1.8.0

- add Mocha() options bail support
- add `Mochabail()` method
- add instanceof check back for inheriting from Error
- add component.json
- add diff.js to browser build
- update growl
- fix TAP reporter failures comment :D

Page 12 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.