Js-mocha

Latest version: v2.2.5

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

Scan your dependencies

Page 14 of 22

1.4.2

- add support to multiple `Mochaglobals()` calls, and strings
- add `mocha.reporter()` constructor support [jfirebaugh]
- add `mocha.timeout()`
- move query-string parser to utils.js
- move highlight code to utils.js
- fix third-party reporter support [exogen]
- fix client-side API to match node-side [jfirebaugh]
- fix mocha in iframe [joliss]

1.4.1

- add missing `Markdown` export
- fix `Mochagrep()`, escape regexp strings
- fix reference error when `devicePixelRatio` is not defined. Closes 549

1.4.0

- add mkdir -p to `mocha init`. Closes 539
- add `.only()`. Closes 524
- add `.skip()`. Closes 524
- change str.trim() to use utils.trim(). Closes 533
- fix HTML progress indicator retina display
- fix url-encoding of click-to-grep HTML functionality

1.3.2

- fix exports double-execution regression. Closes 531

1.3.1

- add passes/failures toggling to HTML reporter
- add pending state to `xit()` and `xdescribe()` [Brian Moore]
- add the charset "UTF-8"; to fix 522 with FireFox. [Jonathan Creamer]
- add border-bottom to stats links
- add check for runnable in `Runneruncaught()`. Closes 494
- add 0.4 and 0.6 back to travis.yml
- add `-E, --growl-errors` to growl on failures only
- add prefixes to debug() names. Closes 497
- add `Mochainvert()` to js api
- change dot reporter to use sexy unicode dots
- fix error when clicking pending test in HTML reporter
- fix `make tm`

1.3.0

- add window scrolling to `HTML` reporter
- add v8 `--trace-*` option support
- add support for custom reports via `--reporter MODULE`
- add `--invert` switch to invert `--grep` matches
- fix export of `Nyan` reporter. Closes 495
- fix escaping of `HTML` suite titles. Closes 486
- fix `done()` called multiple times with an error test
- change `--grep` - regexp escape the input

Page 14 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.