Js.mocha

Latest version: v2.2.5

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

Scan your dependencies

Page 11 of 20

1.7.0

==================

* add `--async-only` support to prevent false positives for missing `done()`
* add sorting by filename in code coverage
* add HTML 5 doctype to browser template.
* add play button to html reporter to rerun a single test
* add `this.timeout(ms)` as Suitetimeout(ms). Closes 599
* update growl dependency to 1.6.x
* fix encoding of test-case ?grep. Closes 637
* fix unicode chars on windows
* fix dom globals in Opera/IE. Closes 243
* fix markdown reporter a tags
* fix `this.timeout("5s")` support

1.6.0

==================

* add object diffs when `err.showDiff` is present
* add hiding of empty suites when pass/failures are toggled
* add faster `.length` checks to `checkGlobals()` before performing the filter

1.5.0

==================

* add `ms()` to `.slow()` and `.timeout()`
* add `MochacheckLeaks()` to re-enable global leak checks
* add `this.slow()` option [aheckmann]
* add tab, CR, LF to error diffs for now
* add faster `.checkGlobals()` solution [guille]
* remove `fn.call()` from reduce util
* remove `fn.call()` from filter util
* fix forEach. Closes 582
* fix relaying of signals [TooTallNate]
* fix TAP reporter grep number

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

Page 11 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.