mocha 7.0.0 → 7.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,74 @@
1
+ # 7.1.2 / 2020-04-26
2
+
3
+ ## :nut_and_bolt: Other
4
+
5
+ - [#4251](https://github.com/mochajs/mocha/issues/4251): Prevent karma-mocha from stalling ([**@juergba**](https://github.com/juergba))
6
+ - [#4222](https://github.com/mochajs/mocha/issues/4222): Update dependency mkdirp to v0.5.5 ([**@outsideris**](https://github.com/outsideris))
7
+
8
+ ## :book: Documentation
9
+
10
+ - [#4208](https://github.com/mochajs/mocha/issues/4208): Add Wallaby logo to site ([**@boneskull**](https://github.com/boneskull))
11
+
12
+ # 7.1.1 / 2020-03-18
13
+
14
+ ## :lock: Security Fixes
15
+
16
+ - [#4204](https://github.com/mochajs/mocha/issues/4204): Update dependencies mkdirp, yargs-parser and yargs ([**@juergba**](https://github.com/juergba))
17
+
18
+ ## :bug: Fixes
19
+
20
+ - [#3660](https://github.com/mochajs/mocha/issues/3660): Fix `runner` listening to `start` and `end` events ([**@juergba**](https://github.com/juergba))
21
+
22
+ ## :book: Documentation
23
+
24
+ - [#4190](https://github.com/mochajs/mocha/issues/4190): Show Netlify badge on footer ([**@outsideris**](https://github.com/outsideris))
25
+
26
+ # 7.1.0 / 2020-02-26
27
+
28
+ ## :tada: Enhancements
29
+
30
+ [#4038](https://github.com/mochajs/mocha/issues/4038): Add Node.js native ESM support ([**@giltayar**](https://github.com/giltayar))
31
+
32
+ Mocha supports writing your test files as ES modules:
33
+
34
+ - Node.js only v12.11.0 and above
35
+ - Node.js below v13.2.0, you must set `--experimental-modules` option
36
+ - current limitations: please check our [documentation](https://mochajs.org/#nodejs-native-esm-support)
37
+ - for programmatic usage: see [API: loadFilesAsync()](https://mochajs.org/api/mocha#loadFilesAsync)
38
+
39
+ **Note:** Node.JS native [ECMAScript Modules](https://nodejs.org/api/esm.html) implementation has status: **Stability: 1 - Experimental**
40
+
41
+ ## :bug: Fixes
42
+
43
+ - [#4181](https://github.com/mochajs/mocha/issues/4181): Programmatic API cannot access retried test objects ([**@juergba**](https://github.com/juergba))
44
+ - [#4174](https://github.com/mochajs/mocha/issues/4174): Browser: fix `allowUncaught` option ([**@juergba**](https://github.com/juergba))
45
+
46
+ ## :book: Documentation
47
+
48
+ - [#4058](https://github.com/mochajs/mocha/issues/4058): Manage author list in AUTHORS instead of `package.json` ([**@outsideris**](https://github.com/outsideris))
49
+
50
+ ## :nut_and_bolt: Other
51
+
52
+ - [#4138](https://github.com/mochajs/mocha/issues/4138): Upgrade ESLint v6.8 ([**@kaicataldo**](https://github.com/kaicataldo))
53
+
54
+ # 7.0.1 / 2020-01-25
55
+
56
+ ## :bug: Fixes
57
+
58
+ - [#4165](https://github.com/mochajs/mocha/issues/4165): Fix exception when skipping tests programmatically ([**@juergba**](https://github.com/juergba))
59
+ - [#4153](https://github.com/mochajs/mocha/issues/4153): Restore backwards compatibility for `reporterOptions` ([**@holm**](https://github.com/holm))
60
+ - [#4150](https://github.com/mochajs/mocha/issues/4150): Fix recovery of an open test upon uncaught exception ([**@juergba**](https://github.com/juergba))
61
+ - [#4147](https://github.com/mochajs/mocha/issues/4147): Fix regression of leaking uncaught exception handler ([**@juergba**](https://github.com/juergba))
62
+
63
+ ## :book: Documentation
64
+
65
+ - [#4146](https://github.com/mochajs/mocha/issues/4146): Update copyright & trademark notices per OJSF ([**@boneskull**](https://github.com/boneskull))
66
+ - [#4140](https://github.com/mochajs/mocha/issues/4140): Fix broken links ([**@KyoungWan**](https://github.com/KyoungWan))
67
+
68
+ ## :nut_and_bolt: Other
69
+
70
+ - [#4133](https://github.com/mochajs/mocha/issues/4133): Print more descriptive error message ([**@Zirak**](https://github.com/Zirak))
71
+
1
72
  # 7.0.0 / 2020-01-05
2
73
 
3
74
  ## :boom: Breaking Changes
@@ -561,1347 +632,3 @@ Welcome [@vkarpov15](https://github.com/vkarpov15) to the team!
561
632
  - [#3185](https://github.com/mochajs/mocha/issues/3185): Add Node.js v9 to build matrix; remove v7 ([@xxczaki](https://github.com/xxczaki))
562
633
  - [#3172](https://github.com/mochajs/mocha/issues/3172): Markdown linting ([@boneskull](https://github.com/boneskull))
563
634
  - Test & Netlify updates ([@Munter](https://github.com/munter), [@boneskull](https://github.com/boneskull))
564
-
565
- # 4.1.0 / 2017-12-28
566
-
567
- This is mainly a "housekeeping" release.
568
-
569
- Welcome [@Bamieh](https://github.com/Bamieh) and [@xxczaki](https://github.com/xxczaki) to the team!
570
-
571
- ## :bug: Fixes
572
-
573
- - [#2661](https://github.com/mochajs/mocha/issues/2661): `progress` reporter now accepts reporter options ([@canoztokmak](https://github.com/canoztokmak))
574
- - [#3142](https://github.com/mochajs/mocha/issues/3142): `xit` in `bdd` interface now properly returns its `Test` object ([@Bamieh](https://github.com/Bamieh))
575
- - [#3075](https://github.com/mochajs/mocha/pull/3075): Diffs now computed eagerly to avoid misinformation when reported ([@abrady0](https://github.com/abrady0))
576
- - [#2745](https://github.com/mochajs/mocha/issues/2745): `--help` will now help you even if you have a `mocha.opts` ([@Zarel](https://github.com/Zarel))
577
-
578
- ## :tada: Enhancements
579
-
580
- - [#2514](https://github.com/mochajs/mocha/issues/2514): The `--no-diff` flag will completely disable diff output ([@CapacitorSet](https://github.com/CapacitorSet))
581
- - [#3058](https://github.com/mochajs/mocha/issues/3058): All "setters" in Mocha's API are now also "getters" if called without arguments ([@makepanic](https://github.com/makepanic))
582
-
583
- ## :book: Documentation
584
-
585
- - [#3170](https://github.com/mochajs/mocha/pull/3170): Optimization and site speed improvements ([@Munter](https://github.com/munter))
586
- - [#2987](https://github.com/mochajs/mocha/issues/2987): Moved the old [site repo](https://github.com/mochajs/mochajs.github.io) into the main repo under `docs/` ([@boneskull](https://github.com/boneskull))
587
- - [#2896](https://github.com/mochajs/mocha/issues/2896): Add [maintainer guide](https://github.com/mochajs/mocha/blob/master/MAINTAINERS.md) ([@boneskull](https://github.com/boneskull))
588
- - Various fixes and updates ([@xxczaki](https://github.com/xxczaki), [@maty21](https://github.com/maty21), [@leedm777](https://github.com/leedm777))
589
-
590
- ## :nut_and_bolt: Other
591
-
592
- - Test improvements and fixes ([@eugenet8k](https://github.com/eugenet8k), [@ngeor](https://github.com/ngeor), [@38elements](https://github.com/38elements), [@Gerhut](https://github.com/Gerhut), [@ScottFreeCode](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull))
593
- - Refactoring and cruft excision ([@38elements](https://github.com/38elements), [@Bamieh](https://github.com/Bamieh), [@finnigantime](https://github.com/finnigantime), [@boneskull](https://github.com/boneskull))
594
-
595
- # 4.0.1 / 2017-10-05
596
-
597
- ## :bug: Fixes
598
-
599
- - [#3051](https://github.com/mochajs/mocha/pull/3051): Upgrade Growl to v1.10.3 to fix its [peer dep problems](https://github.com/tj/node-growl/pull/68) ([@dpogue](https://github.com/dpogue))
600
-
601
- # 4.0.0 / 2017-10-02
602
-
603
- You might want to read this before filing a new bug! :stuck_out_tongue_closed_eyes:
604
-
605
- ## :boom: Breaking Changes
606
-
607
- For more info, please [read this article](https://boneskull.com/mocha-v4-nears-release/).
608
-
609
- ### Compatibility
610
-
611
- - [#3016](https://github.com/mochajs/mocha/issues/3016): Drop support for unmaintained versions of Node.js ([@boneskull](https://github.com/boneskull)):
612
- - 0.10.x
613
- - 0.11.x
614
- - 0.12.x
615
- - iojs (any)
616
- - 5.x.x
617
- - [#2979](https://github.com/mochajs/mocha/issues/2979): Drop support for non-ES5-compliant browsers ([@boneskull](https://github.com/boneskull)):
618
- - IE7
619
- - IE8
620
- - PhantomJS 1.x
621
- - [#2615](https://github.com/mochajs/mocha/issues/2615): Drop Bower support; old versions (3.x, etc.) will remain available ([@ScottFreeCode](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull))
622
-
623
- ### Default Behavior
624
-
625
- - [#2879](https://github.com/mochajs/mocha/issues/2879): By default, Mocha will no longer force the process to exit once all tests complete. This means any test code (or code under test) which would normally prevent `node` from exiting will do so when run in Mocha. Supply the `--exit` flag to revert to pre-v4.0.0 behavior ([@ScottFreeCode](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull))
626
-
627
- ### Reporter Output
628
-
629
- - [#2095](https://github.com/mochajs/mocha/issues/2095): Remove `stdout:` prefix from browser reporter logs ([@skeggse](https://github.com/skeggse))
630
- - [#2295](https://github.com/mochajs/mocha/issues/2295): Add separator in "unified diff" output ([@olsonpm](https://github.com/olsonpm))
631
- - [#2686](https://github.com/mochajs/mocha/issues/2686): Print failure message when `--forbid-pending` or `--forbid-only` is specified ([@ScottFreeCode](https://github.com/ScottFreeCode))
632
- - [#2814](https://github.com/mochajs/mocha/pull/2814): Indent contexts for better readability when reporting failures ([@charlierudolph](https://github.com/charlierudolph))
633
-
634
- ## :-1: Deprecations
635
-
636
- - [#2493](https://github.com/mochajs/mocha/issues/2493): The `--compilers` command-line option is now soft-deprecated and will emit a warning on `STDERR`. Read [this](https://github.com/mochajs/mocha/wiki/compilers-deprecation) for more info and workarounds ([@ScottFreeCode](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull))
637
-
638
- ## :tada: Enhancements
639
-
640
- - [#2628](https://github.com/mochajs/mocha/issues/2628): Allow override of default test suite name in XUnit reporter ([@ngeor](https://github.com/ngeor))
641
-
642
- ## :book: Documentation
643
-
644
- - [#3020](https://github.com/mochajs/mocha/pull/3020): Link to CLA in `README.md` and `CONTRIBUTING.md` ([@skeggse](https://github.com/skeggse))
645
-
646
- ## :nut_and_bolt: Other
647
-
648
- - [#2890](https://github.com/mochajs/mocha/issues/2890): Speed up build by (re-)consolidating SauceLabs tests ([@boneskull](https://github.com/boneskull))
649
-
650
- # 3.5.3 / 2017-09-11
651
-
652
- ## :bug: Fixes
653
-
654
- - [#3003](https://github.com/mochajs/mocha/pull/3003): Fix invalid entities in xUnit reporter first appearing in v3.5.1 ([@jkrems](https://github.com/jkrems))
655
-
656
- # 3.5.2 / 2017-09-10
657
-
658
- ## :bug: Fixes
659
-
660
- - [#3001](https://github.com/mochajs/mocha/pull/3001): Fix AMD-related failures first appearing in v3.5.1 ([@boneskull](https://github.com/boneskull))
661
-
662
- # 3.5.1 / 2017-09-09
663
-
664
- ## :newspaper: News
665
-
666
- - :mega: Mocha is now sponsoring [PDXNode](http://pdxnode.org)! If you're in the [Portland](https://wikipedia.org/wiki/Portland,_Oregon) area, come check out the monthly talks and hack nights!
667
-
668
- ## :bug: Fixes
669
-
670
- - [#2997](https://github.com/mochajs/mocha/pull/2997): Fix missing `xit` export for "require" interface ([@solodynamo](https://github.com/solodynamo))
671
- - [#2957](https://github.com/mochajs/mocha/pull/2957): Fix unicode character handling in XUnit reporter failures ([@jkrems](https://github.com/jkrems))
672
-
673
- ## :nut_and_bolt: Other
674
-
675
- - [#2986](https://github.com/mochajs/mocha/pull/2986): Add issue and PR templates ([@kungapal](https://github.com/kungapal))
676
- - [#2918](https://github.com/mochajs/mocha/pull/2918): Drop bash dependency for glob-related tests ([@ScottFreeCode](https://github.com/ScottFreeCode))
677
- - [#2922](https://github.com/mochajs/mocha/pull/2922): Improve `--compilers` coverage ([@ScottFreeCode](https://github.com/ScottFreeCode))
678
- - [#2981](https://github.com/mochajs/mocha/pull/2981): Fix tpyos and spelling errors ([@jsoref](https://github.com/jsoref))
679
-
680
- # 3.5.0 / 2017-07-31
681
-
682
- ## :newspaper: News
683
-
684
- - Mocha now has a [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) (thanks [@kungapal](https://github.com/kungapal)!).
685
- - Old issues and PRs are now being marked "stale" by [Probot's "Stale" plugin](https://github.com/probot/stale). If an issue is marked as such, and you would like to see it remain open, simply add a new comment to the ticket or PR.
686
- - **WARNING**: Support for non-ES5-compliant environments will be dropped starting with version 4.0.0 of Mocha!
687
-
688
- ## :lock: Security Fixes
689
-
690
- - [#2860](https://github.com/mochajs/mocha/pull/2860): Address [CVE-2015-8315](https://nodesecurity.io/advisories/46) via upgrade of [debug](https://npm.im/debug) ([@boneskull](https://github.com/boneskull))
691
-
692
- ## :tada: Enhancements
693
-
694
- - [#2696](https://github.com/mochajs/mocha/pull/2696): Add `--forbid-only` and `--forbid-pending` flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! ([@charlierudolph](https://github.com/charlierudolph))
695
- - [#2813](https://github.com/mochajs/mocha/pull/2813): Support Node.js 8's `--napi-modules` flag ([@jupp0r](https://github.com/jupp0r))
696
-
697
- ## :nut_and_bolt: Other
698
-
699
- - Various CI-and-test-related fixes and improvements ([@boneskull](https://github.com/boneskull), [@dasilvacontin](https://github.com/dasilvacontin), [@PopradiArpad](https://github.com/PopradiArpad), [@Munter](https://github.com/munter), [@ScottFreeCode](https://github.com/ScottFreeCode))
700
- - "Officially" support Node.js 8 ([@elergy](https://github.com/elergy))
701
-
702
- # 3.4.2 / 2017-05-24
703
-
704
- ## :bug: Fixes
705
-
706
- - [#2802](https://github.com/mochajs/mocha/issues/2802): Remove call to deprecated `os.tmpDir` ([@makepanic](https://github.com/makepanic))
707
- - [#2820](https://github.com/mochajs/mocha/pull/2820): Eagerly set `process.exitCode` ([@chrisleck](https://github.com/chrisleck))
708
-
709
- ## :nut_and_bolt: Other
710
-
711
- - [#2807](https://github.com/mochajs/mocha/pull/2807): Move linting into an npm script ([@Munter](https://github.com/munter))
712
-
713
- # 3.4.1 / 2017-05-14
714
-
715
- Fixed a publishing mishap with git's autocrlf settings.
716
-
717
- # 3.4.0 / 2017-05-14
718
-
719
- Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.
720
-
721
- This week's highlights:
722
-
723
- - `allowUncaught` added to commandline as `--allow-uncaught` (and bugfixed)
724
- - warning-related Node flags
725
-
726
- ## :tada: Enhancements
727
-
728
- - [#2793](https://github.com/mochajs/mocha/pull/2793), [#2697](https://github.com/mochajs/mocha/pull/2697): add --allowUncaught to Node.js ([@lrowe](https://github.com/lrowe))
729
- - [#2733](https://github.com/mochajs/mocha/pull/2733): Add `--no-warnings` and `--trace-warnings` flags ([@sonicdoe](https://github.com/sonicdoe))
730
-
731
- ## :bug: Fixes
732
-
733
- - [#2793](https://github.com/mochajs/mocha/pull/2793), [#2697](https://github.com/mochajs/mocha/pull/2697): fix broken allowUncaught ([@lrowe](https://github.com/lrowe))
734
-
735
- ## :nut_and_bolt: Other
736
-
737
- - [#2778](https://github.com/mochajs/mocha/pull/2778): Add license report and scan status ([@xizhao](https://github.com/xizhao))
738
- - [#2794](https://github.com/mochajs/mocha/pull/2794): no special case for macOS running Karma locally ([@boneskull](https://github.com/boneskull))
739
- - [#2795](https://github.com/mochajs/mocha/pull/2795): reverts use of semistandard directly ([#2648](https://github.com/mochajs/mocha/pull/2648)) ([@boneskull](https://github.com/boneskull))
740
-
741
- # 3.3.0 / 2017-04-24
742
-
743
- Thanks to all our contributors, maintainers, sponsors, and users! ❤️
744
-
745
- As highlights:
746
-
747
- - We've got coverage now!
748
- - Testing is looking less flaky \\o/.
749
- - No more nitpicking about "mocha.js" build on PRs.
750
-
751
- ## :tada: Enhancements
752
-
753
- - [#2659](https://github.com/mochajs/mocha/pull/2659): Adds support for loading reporter from an absolute or relative path ([@sul4bh](https://github.com/sul4bh))
754
- - [#2769](https://github.com/mochajs/mocha/pull/2769): Support `--inspect-brk` on command-line ([@igwejk](https://github.com/igwejk))
755
-
756
- ## :bug: Fixes
757
-
758
- - [#2662](https://github.com/mochajs/mocha/pull/2662): Replace unicode chars w/ hex codes in HTML reporter ([@rotemdan](https://github.com/rotemdan))
759
-
760
- ## :mag: Coverage
761
-
762
- - [#2672](https://github.com/mochajs/mocha/pull/2672): Add coverage for node tests ([@c089](https://github.com/c089), [@Munter](https://github.com/munter))
763
- - [#2680](https://github.com/mochajs/mocha/pull/2680): Increase tests coverage for base reporter ([@epallerols](https://github.com/epallerols))
764
- - [#2690](https://github.com/mochajs/mocha/pull/2690): Increase tests coverage for doc reporter ([@craigtaub](https://github.com/craigtaub))
765
- - [#2701](https://github.com/mochajs/mocha/pull/2701): Increase tests coverage for landing, min, tap and list reporters ([@craigtaub](https://github.com/craigtaub))
766
- - [#2691](https://github.com/mochajs/mocha/pull/2691): Increase tests coverage for spec + dot reporters ([@craigtaub](https://github.com/craigtaub))
767
- - [#2698](https://github.com/mochajs/mocha/pull/2698): Increase tests coverage for xunit reporter ([@craigtaub](https://github.com/craigtaub))
768
- - [#2699](https://github.com/mochajs/mocha/pull/2699): Increase tests coverage for json-stream, markdown and progress reporters ([@craigtaub](https://github.com/craigtaub))
769
- - [#2703](https://github.com/mochajs/mocha/pull/2703): Cover .some() function in utils.js with tests ([@seppevs](https://github.com/seppevs))
770
- - [#2773](https://github.com/mochajs/mocha/pull/2773): Add tests for loading reporters w/ relative/absolute paths ([@sul4bh](https://github.com/sul4bh))
771
-
772
- ## :nut_and_bolt: Other
773
-
774
- - Remove bin/.eslintrc; ensure execs are linted ([@boneskull](https://github.com/boneskull))
775
- - [#2542](https://github.com/mochajs/mocha/issues/2542): Expand CONTRIBUTING.md ([@boneskull](https://github.com/boneskull))
776
- - [#2660](https://github.com/mochajs/mocha/pull/2660): Double timeouts on integration tests ([@Munter](https://github.com/munter))
777
- - [#2653](https://github.com/mochajs/mocha/pull/2653): Update copyright year ([@Scottkao85], [@Munter](https://github.com/munter))
778
- - [#2621](https://github.com/mochajs/mocha/pull/2621): Update dependencies to enable Greenkeeper ([@boneskull](https://github.com/boneskull), [@greenkeeper](https://github.com/greenkeeper))
779
- - [#2625](https://github.com/mochajs/mocha/pull/2625): Use trusty container in travis-ci; use "artifacts" addon ([@boneskull](https://github.com/boneskull))
780
- - [#2670](https://github.com/mochajs/mocha/pull/2670): doc(CONTRIBUTING): fix link to org members ([@coderbyheart](https://github.com/coderbyheart))
781
- - Add Mocha propaganda to README.md ([@boneskull](https://github.com/boneskull))
782
- - [#2470](https://github.com/mochajs/mocha/pull/2470): Avoid test flake in "delay" test ([@boneskull](https://github.com/boneskull))
783
- - [#2675](https://github.com/mochajs/mocha/pull/2675): Limit browser concurrency on sauce ([@boneskull](https://github.com/boneskull))
784
- - [#2669](https://github.com/mochajs/mocha/pull/2669): Use temporary test-only build of mocha.js for browsers tests ([@Munter](https://github.com/munter))
785
- - Fix "projects" link in README.md ([@boneskull](https://github.com/boneskull))
786
- - [#2678](https://github.com/mochajs/mocha/pull/2678): Chore(Saucelabs): test on IE9, IE10 and IE11 ([@coderbyheart](https://github.com/coderbyheart))
787
- - [#2648](https://github.com/mochajs/mocha/pull/2648): Use `semistandard` directly ([@kt3k](https://github.com/kt3k))
788
- - [#2727](https://github.com/mochajs/mocha/pull/2727): Make the build reproducible ([@lamby](https://github.com/lamby))
789
-
790
- # 3.2.0 / 2016-11-24
791
-
792
- ## :newspaper: News
793
-
794
- ### Mocha is now a JS Foundation Project!
795
-
796
- Mocha is proud to have joined the [JS Foundation](https://js.foundation). For more information, [read the announcement](https://js.foundation/announcements/2016/10/17/Linux-Foundation-Unites-JavaScript-Community-Open-Web-Development/).
797
-
798
- ### Contributor License Agreement
799
-
800
- Under the foundation, all contributors to Mocha must sign the [JS Foundation CLA](https://js.foundation/CLA/) before their code can be merged. When sending a PR--if you have not already signed the CLA--a friendly bot will ask you to do so.
801
-
802
- Mocha remains licensed under the [MIT license](https://github.com/mochajs/mocha/blob/master/LICENSE).
803
-
804
- ## :bug: Bug Fix
805
-
806
- - [#2535](https://github.com/mochajs/mocha/issues/2535): Fix crash when `--watch` encounters broken symlinks ([@villesau](https://github.com/villesau))
807
- - [#2593](https://github.com/mochajs/mocha/pull/2593): Fix (old) regression; incorrect symbol shown in `list` reporter ([@Aldaviva](https://github.com/Aldaviva))
808
- - [#2584](https://github.com/mochajs/mocha/issues/2584): Fix potential error when running XUnit reporter ([@vobujs](https://github.com/vobujs))
809
-
810
- ## :tada: Enhancement
811
-
812
- - [#2294](https://github.com/mochajs/mocha/issues/2294): Improve timeout error messaging ([@jeversmann](https://github.com/jeversmann), [@boneskull](https://github.com/boneskull))
813
- - [#2520](https://github.com/mochajs/mocha/pull/2520): Add info about `--inspect` flag to CLI help ([@ughitsaaron](https://github.com/ughitsaaron))
814
-
815
- ## :nut_and_bolt: Other
816
-
817
- - [#2570](https://github.com/mochajs/mocha/issues/2570): Use [karma-mocha](https://npmjs.com/package/karma-mocha) proper ([@boneskull](https://github.com/boneskull))
818
- - Licenses updated to reflect new copyright, add link to license and browser matrix to `README.md` ([@boneskull](https://github.com/boneskull), [@ScottFreeCode](https://github.com/ScottFreeCode), [@dasilvacontin](https://github.com/dasilvacontin))
819
-
820
- Thanks to all our contributors, sponsors and backers! Keep on the lookout for a public roadmap and new contribution guide coming soon.
821
-
822
- # 3.1.2 / 2016-10-10
823
-
824
- ## :bug: Bug Fix
825
-
826
- - [#2528](https://github.com/mochajs/mocha/issues/2528): Recovery gracefully if an `Error`'s `stack` property isn't writable ([@boneskull](https://github.com/boneskull))
827
-
828
- # 3.1.1 / 2016-10-09
829
-
830
- ## :bug: Bug Fix
831
-
832
- - [#1417](https://github.com/mochajs/mocha/issues/1417): Don't report `done()` was called multiple times when it wasn't ([@frankleonrose](https://github.com/frankleonrose))
833
-
834
- ## :nut_and_bolt: Other
835
-
836
- - [#2490](https://github.com/mochajs/mocha/issues/2490): Lint with [semistandard](https://npmjs.com/package/semistandard) config ([@makepanic](https://github.com/makepanic))
837
- - [#2525](https://github.com/mochajs/mocha/issues/2525): Lint all `.js` files ([@boneskull](https://github.com/boneskull))
838
- - [#2524](https://github.com/mochajs/mocha/issues/2524): Provide workaround for developers unable to run browser tests on macOS Sierra ([@boneskull](https://github.com/boneskull))
839
-
840
- # 3.1.0 / 2016-09-27
841
-
842
- ## :tada: Enhancement
843
-
844
- - [#2357](https://github.com/mochajs/mocha/issues/2357): Support `--inspect` on command-line ([@simov](https://github.com/simov))
845
- - [#2194](https://github.com/mochajs/mocha/issues/2194): Human-friendly error if no files are matched on command-line ([@Munter](https://github.com/munter))
846
- - [#1744](https://github.com/mochajs/mocha/issues/1744): Human-friendly error if a Suite has no callback (BDD/TDD only) ([@anton](https://github.com/anton))
847
-
848
- ## :bug: Bug Fix
849
-
850
- - [#2488](https://github.com/mochajs/mocha/issues/2488): Fix case in which _variables beginning with lowercase "D"_ may not have been reported properly as global leaks ([@JustATrick](https://github.com/JustATrick)) :laughing:
851
- - [#2465](https://github.com/mochajs/mocha/issues/2465): Always halt execution in async function when `this.skip()` is called ([@boneskull](https://github.com/boneskull))
852
- - [#2445](https://github.com/mochajs/mocha/pull/2445): Exits with expected code 130 when `SIGINT` encountered; exit code can no longer rollover at 256 ([@Munter](https://github.com/munter))
853
- - [#2315](https://github.com/mochajs/mocha/issues/2315): Fix uncaught TypeError thrown from callback stack ([@1999](https://github.com/1999))
854
- - Fix broken `only()`/`skip()` in IE7/IE8 ([@boneskull](https://github.com/boneskull))
855
- - [#2502](https://github.com/mochajs/mocha/issues/2502): Fix broken stack trace filter on Node.js under Windows ([@boneskull](https://github.com/boneskull))
856
- - [#2496](https://github.com/mochajs/mocha/issues/2496): Fix diff output for objects instantiated with `String` constructor ([more](https://youtrack.jetbrains.com/issue/WEB-23383)) ([@boneskull](https://github.com/boneskull))
857
-
858
- # 3.0.2 / 2016-08-08
859
-
860
- ## :bug: Bug Fix
861
-
862
- - [#2424](https://github.com/mochajs/mocha/issues/2424): Fix error loading Mocha via Require.js ([@boneskull](https://github.com/boneskull))
863
- - [#2417](https://github.com/mochajs/mocha/issues/2417): Fix execution of _deeply_ nested `describe.only()` suites ([@not-an-aardvark](https://github.com/not-an-aardvark))
864
- - Remove references to `json-cov` and `html-cov` reporters in CLI ([@boneskull](https://github.com/boneskull))
865
-
866
- # 3.0.1 / 2016-08-03
867
-
868
- ## :bug: Bug Fix
869
-
870
- - [#2406](https://github.com/mochajs/mocha/issues/2406): Restore execution of nested `describe.only()` suites ([@not-an-aardvark](https://github.com/not-an-aardvark))
871
-
872
- # 3.0.0 / 2016-07-31
873
-
874
- ## :boom: Breaking Changes
875
-
876
- - :warning: Due to the increasing difficulty of applying security patches made within its dependency tree, as well as looming incompatibilities with Node.js v7.0, **Mocha no longer supports Node.js v0.8**.
877
-
878
- - :warning: **Mocha may no longer be installed by versions of `npm` less than `1.4.0`.** Previously, this requirement only affected Mocha's development dependencies. In short, this allows Mocha to depend on packages which have dependencies fixed to major versions (`^`).
879
-
880
- - `.only()` is no longer "fuzzy", can be used multiple times, and generally just works like you think it should. :joy:
881
-
882
- - To avoid common bugs, when a test injects a callback function (suggesting asynchronous execution), calls it, _and_ returns a `Promise`, Mocha will now throw an exception:
883
-
884
- \```js
885
- const assert = require('assert');
886
-
887
- it('should complete this test', function (done) {
888
- return new Promise(function (resolve) {
889
- assert.ok(true);
890
- resolve();
891
- })
892
- .then(done);
893
- });
894
- \```
895
-
896
- The above test will fail with `Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.`.
897
-
898
- - When a test timeout value _greater than_ `2147483648` is specified in any context (`--timeout`, `mocha.setup()`, per-suite, per-test, etc.), the timeout will be _disabled_ and the test(s) will be allowed to run indefinitely. This is equivalent to specifying a timeout value of `0`. See [MDN](https://developer.mozilla.org/docs/Web/API/WindowTimers/setTimeout#Maximum_delay_value) for reasoning.
899
-
900
- - The `dot` reporter now uses more visually distinctive characters when indicating "pending" and "failed" tests.
901
-
902
- - Mocha no longer supports [component](https://www.npmjs.com/package/component).
903
-
904
- - The long-forsaken `HTMLCov` and `JSONCov` reporters--and any relationship to the "node-jscoverage" project--have been removed.
905
-
906
- - `spec` reporter now omits leading carriage returns (`\r`) in non-TTY environment.
907
-
908
- ## :tada: Enhancements
909
-
910
- - [#808](https://github.com/mochajs/mocha/issues/808): Allow regular-expression-like strings in `--grep` and browser's `grep` querystring; enables flags such as `i` for case-insensitive matches and `u` for unicode. ([@a8m](https://github.com/a8m))
911
- - [#2000](https://github.com/mochajs/mocha/pull/2000): Use distinctive characters in `dot` reporter; `,` will denote a "pending" test and `!` will denote a "failing" test. ([@elliottcable](https://github.com/elliottcable))
912
- - [#1632](https://github.com/mochajs/mocha/issues/1632): Throw a useful exception when a suite or test lacks a title. ([@a8m](https://github.com/a8m))
913
- - [#1481](https://github.com/mochajs/mocha/issues/1481): Better `.only()` behavior. ([@a8m](https://github.com/a8m))
914
- - [#2334](https://github.com/mochajs/mocha/issues/2334): Allow `this.skip()` in async tests and hooks. ([@boneskull](https://github.com/boneskull))
915
- - [#1320](https://github.com/mochajs/mocha/pull/1320): Throw a useful exception when test resolution method is overspecified. ([@jugglinmike](https://github.com/jugglinmike))
916
- - [#2364](https://github.com/mochajs/mocha/pull/2364): Support `--preserve-symlinks`. ([@rosswarren](https://github.com/rosswarren))
917
-
918
- ## :bug: Bug Fixes
919
-
920
- - [#2259](https://github.com/mochajs/mocha/pull/2259): Restore ES3 compatibility. Specifically, support an environment lacking `Date.prototype.toISOString()`, `JSON`, or has a non-standard implementation of `JSON`. ([@ndhoule](https://github.com/ndhoule), [@boneskull](https://github.com/boneskull))
921
- - [#2286](https://github.com/mochajs/mocha/issues/2286): Fix `after()` failing to execute if test skipped using `this.skip()` in `beforeEach()`; no longer marks the entire suite as "pending". ([@dasilvacontin](https://github.com/dasilvacontin), [@boneskull](https://github.com/boneskull))
922
- - [#2208](https://github.com/mochajs/mocha/pull/2208): Fix function name display in `markdown` and `html` (browser) reporters. ([@ScottFreeCode](https://github.com/ScottFreeCode))
923
- - [#2299](https://github.com/mochajs/mocha/pull/2299): Fix progress bar in `html` (browser) reporter. ([@AviVahl](https://github.com/avivahl))
924
- - [#2307](https://github.com/mochajs/mocha/pull/2307): Fix `doc` reporter crashing when test fails. ([@jleyba](https://github.com/jleyba))
925
- - [#2323](https://github.com/mochajs/mocha/issues/2323): Ensure browser entry point (`browser-entry.js`) is published to npm (for use with bundlers). ([@boneskull](https://github.com/boneskull))
926
- - [#2310](https://github.com/mochajs/mocha/issues/2310): Ensure custom reporter with an absolute path works in Windows. ([@silentcloud](https://github.com/silentcloud))
927
- - [#2311](https://github.com/mochajs/mocha/issues/2311): Fix problem wherein calling `this.slow()` without a value would blast any previously set value. ([@boneskull](https://github.com/boneskull))
928
- - [#1813](https://github.com/mochajs/mocha/issues/1813): Ensure Mocha's own test suite will run in Windows. ([@tswaters](https://github.com/tswaters), [@TimothyGu](https://github.com/timothygu), [@boneskull](https://github.com/boneskull))
929
- - [#2317](https://github.com/mochajs/mocha/issues/2317): Ensure all interfaces are displayed in `--help` on CLI. ([@ScottFreeCode](https://github.com/ScottFreeCode))
930
- - [#1644](https://github.com/mochajs/mocha/issues/1644): Don't exhibit undefined behavior when calling `this.timeout()` with very large values ([@callumacrae](https://github.com/callumacrae), [@boneskull](https://github.com/boneskull))
931
- - [#2361](https://github.com/mochajs/mocha/pull/2361): Don't truncate name of thrown anonymous exception. ([@boneskull](https://github.com/boneskull))
932
- - [#2367](https://github.com/mochajs/mocha/pull/2367): Fix invalid CSS. ([@bensontrent](https://github.com/bensontrent))
933
- - [#2401](https://github.com/mochajs/mocha/pull/2401): Remove carriage return before each test line in spec reporter. ([@Munter](https://github.com/munter))
934
-
935
- ## :nut_and_bolt: Other
936
-
937
- - Upgrade production dependencies to address security advisories (and because now we can): `glob`, `commander`, `escape-string-regexp`, and `supports-color`. ([@boneskull](https://github.com/boneskull), [@RobLoach](https://github.com/robloach))
938
- - Add Windows to CI. ([@boneskull](https://github.com/boneskull), [@TimothyGu](https://github.com/timothygu))
939
- - Ensure appropriate `engines` field in `package.json`. ([@shinnn](https://github.com/shinnn), [@boneskull](https://github.com/boneskull))
940
- - [#2348](https://github.com/mochajs/mocha/issues/2348): Upgrade ESLint to v2 ([@anthony-redfox](https://github.com/anthony-redfox))
941
-
942
- We :heart: our [backers and sponsors](https://opencollective.com/mochajs)!
943
-
944
- :shipit:
945
-
946
- # 2.5.3 / 2016-05-25
947
-
948
- - [#2112](https://github.com/mochajs/mocha/pull/2112) - Fix HTML reporter regression causing duplicate error output ([@danielstjules](https://github.com/danielstjules) via [`6d24063`](https://github.com/mochajs/mocha/commit/6d24063))
949
- - [#2119](https://github.com/mochajs/mocha/pull/2119) - Make HTML reporter failure/passed links preventDefault to avoid SPA's hash navigation ([@jimenglish81](https://github.com/jimenglish81) via [`9e93efc`](https://github.com/mochajs/mocha/commit/9e93efc))
950
-
951
- # 2.5.2 / 2016-05-24
952
-
953
- - [#2178](https://github.com/mochajs/mocha/pull/2178) - Avoid double and triple xUnit XML escaping ([@graingert](https://github.com/graingert) via [`49b5ff1`](https://github.com/mochajs/mocha/commit/49b5ff1))
954
-
955
- # 2.5.1 / 2016-05-23
956
-
957
- - Fix [to-iso-string](https://npmjs.com/package/to-iso-string) dependency ([@boneskull](https://github.com/boneskull) via [`bd9450b`](https://github.com/mochajs/mocha/commit/bd9450b))
958
-
959
- Thanks [**@entertainyou**](https://github.com/entertainyou), [**@SimenB**](https://github.com/SimenB), [**@just-paja**](https://github.com/just-paja) for the heads-up.
960
-
961
- # 2.5.0 / 2016-05-23
962
-
963
- This has been awhile coming! We needed to feel confident that the next release wouldn't break browser compatibility (e.g. the last few patch releases).
964
-
965
- ## Browser Tests in CI
966
-
967
- We now run unit tests against PhantomJS v1.x and an assortment of browsers on [SauceLabs](https://saucelabs.com), including:
968
-
969
- - Internet Explorer v8.0
970
- - Chrome (latest)
971
- - Firefox (latest)
972
- - Safari (latest)
973
- - Microsoft Edge (latest)
974
-
975
- To accomplish this, we now run Mocha's unit tests (and a handful of integration tests) via [Karma](https://npmjs.com/package/karma) and a modified [karma-mocha](https://npmjs.com/package/karma-mocha). Along the way, we had to solve issue [#880](https://github.com/mochajs/mocha/issues/880) (apologies to [**@mderijcke**](https://github.com/mderijcke) and [**@sukima**](https://github.com/sukima) who had PRs addressing this), as well as replace most usages of [should](https://npmjs.com/package/should) with [expect.js](https://npmjs.com/package/expect.js) for IE8.
976
-
977
- Going forward, when sending PRs, your code will _only_ run against PhantomJS v1.x (and not hit SauceLabs) [because security](https://docs.travis-ci.com/user/pull-requests/#Security-Restrictions-when-testing-Pull-Requests).
978
-
979
- ## Node.js 6.x
980
-
981
- Node.js 6.x "just worked" before, but now it's in the CI matrix, so it's "officially" supported. Mocha _still retains support_ for Node.js 0.8.x.
982
-
983
- ## "Minor" Release
984
-
985
- You'll see mostly bug fixes below, but also a couple features--as such, it's a "minor" release.
986
-
987
- ## TYVM
988
-
989
- Thanks to everyone who contributed, and our fabulous [sponsors and backers](https://opencollective.com/mochajs)!
990
-
991
- - [#2079](https://github.com/mochajs/mocha/issues/2079) - Add browser checks to CI; update [browserify](https://npmjs.com/package/browserify) to v13.0.0 ([@dasilvacontin](https://github.com/dasilvacontin), [@ScottFreeCode](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull) via [`c04c1d7`](https://github.com/mochajs/mocha/commit/c04c1d7), [`0b1e9b3`](https://github.com/mochajs/mocha/commit/0b1e9b3), [`0dde0fa`](https://github.com/mochajs/mocha/commit/0dde0fa), [`f8a3d86`](https://github.com/mochajs/mocha/commit/f8a3d86), [`9e8cbaa`](https://github.com/mochajs/mocha/commit/9e8cbaa))
992
- - [#880](https://github.com/mochajs/mocha/issues/880) - Make Mocha browserifyable ([@boneskull](https://github.com/boneskull) via [`524862b`](https://github.com/mochajs/mocha/commit/524862b))
993
- - [#2121](https://github.com/mochajs/mocha/issues/2121) - Update [glob](https://npmjs.com/package/glob) to v3.2.11 ([@astorije](https://github.com/astorije) via [`7920fc4`](https://github.com/mochajs/mocha/commit/7920fc4))
994
- - [#2126](https://github.com/mochajs/mocha/issues/2126) - Fix dupe error messages in stack trace filter ([@Turbo87](https://github.com/Turbo87) via [`4301caa`](https://github.com/mochajs/mocha/commit/4301caa))
995
- - [#2109](https://github.com/mochajs/mocha/issues/2109) - Fix certain diffs when objects cannot be coerced into primitives ([@joshlory](https://github.com/joshlory) via [`61fbb7f`](https://github.com/mochajs/mocha/commit/61fbb7f))
996
- - [#1827](https://github.com/mochajs/mocha/pull/1827) - Fix TWBS/`mocha.css` collisions ([@irnc](https://github.com/irnc) via [`0543798`](https://github.com/mochajs/mocha/commit/0543798))
997
- - [#1760](https://github.com/mochajs/mocha/issues/1760), [#1936](https://github.com/mochajs/mocha/issues/1936) - Fix `this.skip()` in HTML reporter ([@mislav](https://github.com/mislav) via [`cb4248b`](https://github.com/mochajs/mocha/commit/cb4248b))
998
- - [#2115](https://github.com/mochajs/mocha/pull/2115) - Fix exceptions thrown from hooks in HTML reporter ([@danielstjules](https://github.com/danielstjules) via [`e290bc0`](https://github.com/mochajs/mocha/commit/e290bc0))
999
- - [#2089](https://github.com/mochajs/mocha/issues/2089) - Handle Symbol values in `util.stringify()` ([@ryym](https://github.com/ryym) via [`ea61d05`](https://github.com/mochajs/mocha/commit/ea61d05))
1000
- - [#2097](https://github.com/mochajs/mocha/pull/2097) - Fix diff for objects overriding `Object.prototype.hasOwnProperty` ([@mantoni](https://github.com/mantoni) via [`b20fdfe`](https://github.com/mochajs/mocha/commit/b20fdfe))
1001
- - [#2101](https://github.com/mochajs/mocha/pull/2101) - Properly handle non-string "messages" thrown from assertion libraries ([@jkimbo](https://github.com/jkimbo) via [`9c41051`](https://github.com/mochajs/mocha/commit/9c41051))
1002
- - [#2124](https://github.com/mochajs/mocha/pull/2124) - Update [growl](https://npmjs.com/package/growl) ([@benjamine](https://github.com/benjamine) via [`9ae6a85`](https://github.com/mochajs/mocha/commit/9ae6a85))
1003
- - [#2162](https://github.com/mochajs/mocha/pull/2162), [#2205](https://github.com/mochajs/mocha/pull/2205) - JSDoc fixes ([@OlegTsyba](https://github.com/OlegTsyba) via [`8031f20`](https://github.com/mochajs/mocha/commit/8031f20), [@ScottFreeCode](https://github.com/ScottFreeCode) via [`f83b1d9`](https://github.com/mochajs/mocha/commit/f83b1d9))
1004
- - [#2132](https://github.com/mochajs/mocha/issues/2132) - Remove Growl-related cruft ([@julienw](https://github.com/julienw) via [`00d6469`](https://github.com/mochajs/mocha/commit/00d6469))
1005
- - [#2172](https://github.com/mochajs/mocha/pull/2172) - Add [OpenCollective](https://opencollective.com) badge, sponsors & backers ([@xdamman](https://github.com/xdamman), [@boneskull](https://github.com/boneskull) via [`caee94f`](https://github.com/mochajs/mocha/commit/caee94f))
1006
- - [#1841](https://github.com/mochajs/mocha/pull/1841) - Add new logo, banner assets ([@dasilvacontin](https://github.com/dasilvacontin) via [`00fd0e1`](https://github.com/mochajs/mocha/commit/00fd0e1))
1007
- - [#2214](https://github.com/mochajs/mocha/pull/2214) - Update `README.md` header ([@dasilvacontin](https://github.com/dasilvacontin) via [`c0f9be2`](https://github.com/mochajs/mocha/commit/c0f9be2))
1008
- - [#2236](https://github.com/mochajs/mocha/pull/2236) - Better checks for Node.js v0.8 compatibility in CI ([@dasilvacontin](https://github.com/dasilvacontin) via [`ba5637d`](https://github.com/mochajs/mocha/commit/ba5637d))
1009
- - [#2239](https://github.com/mochajs/mocha/issues/2239) - Add Node.js v6.x to CI matrix ([@boneskull](https://github.com/boneskull) via [`3904da4`](https://github.com/mochajs/mocha/commit/3904da4))
1010
-
1011
- # 2.4.5 / 2016-01-28
1012
-
1013
- - [#2080](https://github.com/mochajs/mocha/issues/2080), [#2078](https://github.com/mochajs/mocha/issues/2078), [#2072](https://github.com/mochajs/mocha/pull/2072), [#2073](https://github.com/mochajs/mocha/pull/2073), [#1200](https://github.com/mochajs/mocha/issues/1200) - Revert changes to console colors in changeset [1192914](https://github.com/mochajs/mocha/commit/119291449cd03a11cdeda9e37cf718a69a012896) and subsequent related changes thereafter. Restores compatibility with IE8 & PhantomJS. See also [mantoni/mochify.js#129](https://github.com/mantoni/mochify.js/issues/129) and [openlayers/ol3#4746](https://github.com/openlayers/ol3/pull/4746) ([@boneskull](https://github.com/boneskull))
1014
- - [#2082](https://github.com/mochajs/mocha/pull/2082) - Fix several test assertions ([@mislav](https://github.com/mislav))
1015
-
1016
- # 2.4.4 / 2016-01-27
1017
-
1018
- - [#2080](https://github.com/mochajs/mocha/issues/2080) - Fix broken RequireJS compatibility ([@boneskull](https://github.com/boneskull))
1019
-
1020
- # 2.4.3 / 2016-01-27
1021
-
1022
- - [#2078](https://github.com/mochajs/mocha/issues/2078) - Fix broken IE8 ([@boneskull](https://github.com/boneskull))
1023
-
1024
- # 2.4.2 / 2016-01-26
1025
-
1026
- - [#2053](https://github.com/mochajs/mocha/pull/2053) - Fix web worker compatibility ([@mislav](https://github.com/mislav))
1027
- - [#2072](https://github.com/mochajs/mocha/pull/2072) - Fix Windows color output ([@thedark1337](https://github.com/thedark1337))
1028
- - [#2073](https://github.com/mochajs/mocha/pull/2073) - Fix colors in `progress` and `landing` reporters ([@gyandeeps](https://github.com/gyandeeps))
1029
-
1030
- # 2.4.1 / 2016-01-26
1031
-
1032
- - [#2067](https://github.com/mochajs/mocha/pull/2067) - Fix HTML/doc reporter regressions ([@danielstjules](https://github.com/danielstjules))
1033
-
1034
- # 2.4.0 / 2016-01-25
1035
-
1036
- - [#1945](https://github.com/mochajs/mocha/pull/1945) - Correctly skip tests when skipping in suite's before() ([@ryanshawty](https://github.com/ryanshawty))
1037
- - [#2056](https://github.com/mochajs/mocha/pull/2056) - chore(license): update license year to 2016 ([@pra85](https://github.com/pra85))
1038
- - [#2048](https://github.com/mochajs/mocha/pull/2048) - Fix `this.skip` from spec with HTML reporter ([@mislav](https://github.com/mislav))
1039
- - [#2033](https://github.com/mochajs/mocha/pull/2033) - Update tests for newer versions of should.js ([@tomhughes](https://github.com/tomhughes))
1040
- - [#2037](https://github.com/mochajs/mocha/pull/2037) - Fix for memory leak caused by referenced to deferred test ([@bd82](https://github.com/bd82))
1041
- - [#2038](https://github.com/mochajs/mocha/pull/2038) - Also run Travis-CI on node.js 4 & 5 ([@bd82](https://github.com/bd82))
1042
- - [#2028](https://github.com/mochajs/mocha/pull/2028) - Remove reference to test before afterAll hook runs ([@stonelgh](https://github.com/stonelgh))
1043
- - Bump mkdirp to 0.5.1 to support strict mode ([@danielstjules](https://github.com/danielstjules))
1044
- - [#1977](https://github.com/mochajs/mocha/pull/1977) - safely stringify PhantomJS undefined value ([@ahamid](https://github.com/ahamid))
1045
- - Add the ability to retry tests ([@@longlho])
1046
- - [#1982](https://github.com/mochajs/mocha/pull/1982) - Enable --log-timer-events option [@Alaneor](https://github.com/Alaneor)
1047
- - Fix [#1980](https://github.com/mochajs/mocha/issues/1980): Load mocha.opts from bin/mocha and bin/\_mocha ([@danielstjules](https://github.com/danielstjules))
1048
- - [#1976](https://github.com/mochajs/mocha/pull/1976) - Simplify function call ([@iclanzan](https://github.com/iclanzan))
1049
- - [#1963](https://github.com/mochajs/mocha/pull/1963) - Add support --perf-basic-prof ([@robraux](https://github.com/robraux))
1050
- - [#1981](https://github.com/mochajs/mocha/pull/1981) - Fix HTML reporter handling of done and exceptions ([@Standard8](https://github.com/Standard8))
1051
- - [#1993](https://github.com/mochajs/mocha/pull/1993) - propagate "file" property for "exports" interface ([@segrey](https://github.com/segrey))
1052
- - [#1999](https://github.com/mochajs/mocha/pull/1999) - Add support for strict mode ([@tmont](https://github.com/tmont))
1053
- - [#2005](https://github.com/mochajs/mocha/pull/2005) - XUnit Reporter Writes to stdout, falls back to console.log ([@jonnyreeves](https://github.com/jonnyreeves))
1054
- - [#2021](https://github.com/mochajs/mocha/pull/2021) - Fix non ES5 compliant regexp ([@zetaben](https://github.com/zetaben))
1055
- - [#1965] - Don't double install BDD UI ([@cowboyd](https://github.com/cowboyd))
1056
- - [#1995](https://github.com/mochajs/mocha/pull/1995) - Make sure the xunit output dir exists before writing to it ([@ianwremmel](https://github.com/ianwremmel))
1057
- - Use chalk for the base reporter colors; closes [#1200](https://github.com/mochajs/mocha/issues/1200) ([@boneskull](https://github.com/boneskull))
1058
- - Fix requiring custom interfaces ([@jgkim](https://github.com/jgkim))
1059
- - [#1967](https://github.com/mochajs/mocha/pull/1967) Silence Bluebird js warnings ([@krisr](https://github.com/krisr))
1060
-
1061
- # 2.3.4 / 2015-11-15
1062
-
1063
- - Update debug dependency to 2.2.0
1064
- - remove duplication of mocha.opts on process.argv
1065
- - Fix typo in test/reporters/nyan.js
1066
-
1067
- # 2.3.3 / 2015-09-19
1068
-
1069
- - [#1875](https://github.com/mochajs/mocha/issues/1875) - Fix Markdown reporter exceeds maximum call stack size ([@danielstjules](https://github.com/danielstjules))
1070
- - [#1864](https://github.com/mochajs/mocha/issues/1864) - Fix xunit missing output with --reporter-options output ([@danielstjules](https://github.com/danielstjules))
1071
- - [#1846](https://github.com/mochajs/mocha/issues/1846) - Support all harmony flags ([@danielstjules](https://github.com/danielstjules))
1072
- - Fix fragile xunit reporter spec ([@danielstjules](https://github.com/danielstjules))
1073
- - [#1669](https://github.com/mochajs/mocha/issues/1669) - Fix catch uncaught errors outside test suite execution ([@danielstjules](https://github.com/danielstjules))
1074
- - [#1868](https://github.com/mochajs/mocha/issues/1868) - Revert jade to support npm < v1.3.7 ([@danielstjules](https://github.com/danielstjules))
1075
- - [#1766](https://github.com/mochajs/mocha/issues/1766) - Don't remove modules/components from stack trace in the browser ([@danielstjules](https://github.com/danielstjules))
1076
- - [#1798](https://github.com/mochajs/mocha/issues/1798) - Fix correctly attribute mutiple done err with hooks ([@danielstjules](https://github.com/danielstjules))
1077
- - Fix use utils.reduce for IE8 compatibility ([@wsw0108](https://github.com/wsw0108))
1078
- - Some linting errors fixed by [@danielstjules](https://github.com/danielstjules)
1079
- - Call the inspect() function if message is not set ([@kevinburke](https://github.com/kevinburke))
1080
-
1081
- # 2.3.2 / 2015-09-07
1082
-
1083
- - [#1868](https://github.com/mochajs/mocha/issues/1868) - Fix compatibility with older versions of NPM ([@boneskull](https://github.com/boneskull))
1084
-
1085
- # 2.3.1 / 2015-09-06
1086
-
1087
- - [#1812](https://github.com/mochajs/mocha/issues/1812) - Fix: Bail flag causes before() hooks to be run even after a failure ([@aaroncrows])
1088
-
1089
- # 2.3.0 / 2015-08-30
1090
-
1091
- - [#553](https://github.com/mochajs/mocha/issues/553) - added --allowUncaught option ([@amsul](https://github.com/amsul))
1092
- - [#1490](https://github.com/mochajs/mocha/issues/1490) - Allow --async-only to be satisfied by returning a promise ([@jlai](https://github.com/jlai))
1093
- - [#1829](https://github.com/mochajs/mocha/issues/1829) - support --max-old-space-size ([@gigadude](https://github.com/gigadude))
1094
- - [#1811](https://github.com/mochajs/mocha/issues/1811) - upgrade Jade dependency ([@outsideris](https://github.com/outsideris))
1095
- - [#1769](https://github.com/mochajs/mocha/issues/1769) - Fix async hook error handling ([@ajaykodali](https://github.com/ajaykodali))
1096
- - [#1230](https://github.com/mochajs/mocha/issues/1230) - More descriptive beforeEach/afterEach messages ([@duncanbeevers](https://github.com/duncanbeevers))
1097
- - [#1787](https://github.com/mochajs/mocha/issues/1787) - Scope loading behaviour instead of using early return ([@aryeguy](https://github.com/aryeguy))
1098
- - [#1789](https://github.com/mochajs/mocha/issues/1789) - Fix: html-runner crashing ([@sunesimonsen](https://github.com/sunesimonsen))
1099
- - [#1749](https://github.com/mochajs/mocha/issues/1749) - Fix maximum call stack error on large amount of tests ([@tinganho](https://github.com/tinganho))
1100
- - [#1230](https://github.com/mochajs/mocha/issues/1230) - Decorate failed hook titles with test title ([@duncanbeevers](https://github.com/duncanbeevers))
1101
- - [#1260](https://github.com/mochajs/mocha/issues/1260) - Build using Browserify ([@ndhoule](https://github.com/ndhoule))
1102
- - [#1728](https://github.com/mochajs/mocha/issues/1728) - Don't use `__proto__` ([@ndhoule](https://github.com/ndhoule))
1103
- - [#1781](https://github.com/mochajs/mocha/issues/1781) - Fix hook error tests ([@glenjamin](https://github.com/glenjamin))
1104
- - [#1754](https://github.com/mochajs/mocha/issues/1754) - Allow boolean --reporter-options ([@papandreou](https://github.com/papandreou))
1105
- - [#1766](https://github.com/mochajs/mocha/issues/1766) - Fix overly aggressive stack suppression ([@moll](https://github.com/moll))
1106
- - [#1752](https://github.com/mochajs/mocha/issues/1752) - Avoid potential infinite loop ([@gsilk](https://github.com/gsilk))
1107
- - [#1761](https://github.com/mochajs/mocha/issues/1761) - Fix problems running under PhantomJS ([@chromakode](https://github.com/chromakode))
1108
- - [#1700](https://github.com/mochajs/mocha/issues/1700) - Fix more problems running under PhantomJS ([@jbnicolai](https://github.com/jbnicolai))
1109
- - [#1774](https://github.com/mochajs/mocha/issues/1774) - Support escaped spaces in CLI options ([@adamgruber](https://github.com/adamgruber))
1110
- - [#1687](https://github.com/mochajs/mocha/issues/1687) - Fix HTML reporter links with special chars ([@benvinegar](https://github.com/benvinegar))
1111
- - [#1359](https://github.com/mochajs/mocha/issues/1359) - Adopt code style and enforce it using ESLint ([@ndhoule](https://github.com/ndhoule) w/ assist from [@jbnicolai](https://github.com/jbnicolai) & [@boneskull](https://github.com/boneskull))
1112
- - various refactors ([@jbnicolai](https://github.com/jbnicolai))
1113
- - [#1758](https://github.com/mochajs/mocha/issues/1758) - Add cross-frame compatible Error checking ([@outdooricon](https://github.com/outdooricon))
1114
- - [#1741](https://github.com/mochajs/mocha/issues/1741) - Remove moot `version` property from bower.json ([@kkirsche](https://github.com/kkirsche))
1115
- - [#1739](https://github.com/mochajs/mocha/issues/1739) - Improve `HISTORY.md` ([@rstacruz](https://github.com/rstacruz))
1116
- - [#1730](https://github.com/mochajs/mocha/issues/1730) - Support more io.js flags ([@ryedog](https://github.com/ryedog))
1117
- - [#1349](https://github.com/mochajs/mocha/issues/1349) - Allow HTML in HTML reporter errors ([@papandreou](https://github.com/papandreou) / [@sunesimonsen](https://github.com/sunesimonsen))
1118
- - [#1572](https://github.com/mochajs/mocha/issues/1572) - Prevent default browser behavior for failure/pass links ([@jschilli](https://github.com/jschilli))
1119
- - [#1630](https://github.com/mochajs/mocha/issues/1630) - Support underscored harmony flags ([@dominicbarnes](https://github.com/dominicbarnes))
1120
- - [#1718](https://github.com/mochajs/mocha/issues/1718) - Support more harmony flags ([@slyg](https://github.com/slyg))
1121
- - [#1689](https://github.com/mochajs/mocha/issues/1689) - Add stack to JSON-stream reporter ([@jonathandelgado](https://github.com/jonathandelgado))
1122
- - [#1654](https://github.com/mochajs/mocha/issues/1654) - Fix `ReferenceError` "location is not defined" ([@jakemmarsh](https://github.com/jakemmarsh))
1123
-
1124
- # 2.2.5 / 2015-05-14
1125
-
1126
- - [#1699](https://github.com/mochajs/mocha/issues/1699) - Upgrade jsdiff to v1.4.0 ([@nylen](https://github.com/nylen))
1127
- - [#1648](https://github.com/mochajs/mocha/issues/1648) - fix diff background colors in the console ([@nylen](https://github.com/nylen))
1128
- - [#1327](https://github.com/mochajs/mocha/issues/1327) - fix tests running twice, a regression issue. ([#1686](https://github.com/mochajs/mocha/issues/1686), [@danielstjules](https://github.com/danielstjules))
1129
- - [#1675](https://github.com/mochajs/mocha/issues/1675) - add integration tests ([@danielstjules](https://github.com/danielstjules))
1130
- - [#1682](https://github.com/mochajs/mocha/issues/1682) - use a valid SPDX license identifier in package.json ([@kemitchell](https://github.com/kemitchell))
1131
- - [#1660](https://github.com/mochajs/mocha/issues/1660) - fix assertion of invalid dates ([#1661](https://github.com/mochajs/mocha/issues/1661), [@a8m](https://github.com/a8m))
1132
- - [#1241](https://github.com/mochajs/mocha/issues/1241) - fix issue with multiline diffs appearing as single line ([#1655](https://github.com/mochajs/mocha/issues/1655), [@a8m](https://github.com/a8m))
1133
-
1134
- # 2.2.4 / 2015-04-08
1135
-
1136
- - Load mocha.opts in \_mocha for now (close [#1645](https://github.com/mochajs/mocha/issues/1645))
1137
-
1138
- # 2.2.3 / 2015-04-07
1139
-
1140
- - fix(reporter/base): string diff - issue [#1241](https://github.com/mochajs/mocha/issues/1241)
1141
- - fix(reporter/base): string diff - issue [#1241](https://github.com/mochajs/mocha/issues/1241)
1142
- - fix(reporter/base): don't show diffs for errors without expectation
1143
- - fix(reporter/base): don't assume error message is first line of stack
1144
- - improve: dry up reporter/base test
1145
- - fix(reporter/base): explicitly ignore showDiff [#1614](https://github.com/mochajs/mocha/issues/1614)
1146
- - Add iojs to travis build
1147
- - Pass `--allow-natives-syntax` flag to node.
1148
- - Support --harmony_classes flag for io.js
1149
- - Fix 1556: Update utils.clean to handle newlines in func declarations
1150
- - Fix 1606: fix err handling in IE <= 8 and non-ES5 browsers
1151
- - Fix 1585: make \_mocha executable again
1152
- - chore(package.json): add a8m as a contributor
1153
- - Fixed broken link on html-cov reporter
1154
- - support --es_staging flag
1155
- - fix issue where menu overlaps content.
1156
- - update contributors in package.json
1157
- - Remove trailing whitespace from reporter output
1158
- - Remove contributors list from readme
1159
- - log third-party reporter errors
1160
- - [Fix] Exclude not own properties when looping on options
1161
- - fix: support node args in mocha.opts (close [#1573](https://github.com/mochajs/mocha/issues/1573))
1162
- - fix(reporter/base): string diff - issue [#1241](https://github.com/mochajs/mocha/issues/1241)
1163
-
1164
- # 2.2.1 / 2015-03-09
1165
-
1166
- - Fix passing of args intended for node/iojs.
1167
-
1168
- # 2.2.0 / 2015-03-06
1169
-
1170
- - Update mocha.js
1171
- - Add --fgrep. Use grep for RegExp, fgrep for str
1172
- - Ignore async global errors after spec resolution
1173
- - Fixing errors that prevent mocha.js from loading in the browser - fixes [#1558](https://github.com/mochajs/mocha/issues/1558)
1174
- - fix(utils): issue [#1558](https://github.com/mochajs/mocha/issues/1558) + make
1175
- - add ability to delay root suite; closes [#362](https://github.com/mochajs/mocha/issues/362), closes [#1124](https://github.com/mochajs/mocha/issues/1124)
1176
- - fix insanity in http tests
1177
- - update travis: add node 0.12, add gitter, remove slack
1178
- - building
1179
- - resolve [#1548](https://github.com/mochajs/mocha/issues/1548): ensure the environment's "node" executable is used
1180
- - reporters/base: use supports-color to detect colorable term
1181
- - travis: use docker containers
1182
- - small fix: commander option for --expose-gc
1183
- - Ignore asynchronous errors after global failure
1184
- - Improve error output when a test fails with a non-error
1185
- - updated travis badge, uses svg instead of img
1186
- - Allow skip from test context for [#332](https://github.com/mochajs/mocha/issues/332)
1187
- - [JSHINT] Unnecessary semicolon fixed in bin/\_mocha
1188
- - Added a reminder about the done() callback to test timeout error messages
1189
- - fixes [#1496](https://github.com/mochajs/mocha/issues/1496), in Mocha.run(fn), check if fn exists before executing it, added tests too
1190
- - Add Harmony Proxy flag for iojs
1191
- - test(utils|ms|\*): test existing units
1192
- - add support for some iojs flags
1193
- - fix(utils.stringify): issue [#1229](https://github.com/mochajs/mocha/issues/1229), diff viewer
1194
- - Remove slack link
1195
- - Prevent multiple 'grep=' querystring params in html reporter
1196
- - Use grep as regexp (close [#1381](https://github.com/mochajs/mocha/issues/1381))
1197
- - utils.stringify should handle objects without an Object prototype
1198
- - in runnable test, comparing to undefined error's message rather than a literal
1199
- - Fix test running output truncation on async STDIO
1200
- - amended for deprecated customFds option in child_process
1201
-
1202
- # 2.1.0 / 2014-12-23
1203
-
1204
- - showDiff: don’t stringify strings
1205
- - Clean up unused module dependencies.
1206
- - Filter zero-length strings from mocha.opts
1207
- - only write to stdout in reporters
1208
- - Revert "only write to stdout in reporters"
1209
- - Print colored output only to a tty
1210
- - update summary in README.md
1211
- - rename Readme.md/History.md to README.md/HISTORY.md because neurotic
1212
- - add .mailmap to fix "git shortlog" or "git summary" output
1213
- - fixes [#1461](https://github.com/mochajs/mocha/issues/1461): nyan-reporter now respects Base.useColors, fixed bug where Base.color would not return a string when str wasn't a string.
1214
- - Use existing test URL builder in failed replay links
1215
- - modify .travis.yml: use travis_retry; closes [#1449](https://github.com/mochajs/mocha/issues/1449)
1216
- - fix -t 0 behavior; closes [#1446](https://github.com/mochajs/mocha/issues/1446)
1217
- - fix tests (whoops)
1218
- - improve diff behavior
1219
- - Preserve pathname when linking to individual tests
1220
- - Fix test
1221
- - Tiny typo in comments fixed
1222
- - after hooks now being called on failed tests when using bail, fixes [#1093](https://github.com/mochajs/mocha/issues/1093)
1223
- - fix throwing undefined/null now makes tests fail, fixes [#1395](https://github.com/mochajs/mocha/issues/1395)
1224
- - compiler extensions are added as watched extensions, removed non-standard extensions from watch regex, resolves [#1221](https://github.com/mochajs/mocha/issues/1221)
1225
- - prefix/namespace for suite titles in markdown reporter, fixes [#554](https://github.com/mochajs/mocha/issues/554)
1226
- - fix more bad markdown in CONTRIBUTING.md
1227
- - fix bad markdown in CONTRIBUTING.md
1228
- - add setImmediate/clearImmediate to globals; closes [#1435](https://github.com/mochajs/mocha/issues/1435)
1229
- - Fix buffer diffs (closes [#1132](https://github.com/mochajs/mocha/issues/1132), closes [#1433](https://github.com/mochajs/mocha/issues/1433))
1230
- - add a CONTRIBUTING.md. closes [#882](https://github.com/mochajs/mocha/issues/882)
1231
- - fix intermittent build failures (maybe). closes [#1407](https://github.com/mochajs/mocha/issues/1407)
1232
- - add Slack notification to .travis.yml
1233
- - Fix slack link
1234
- - Add slack room to readme
1235
- - Update maintainers
1236
- - update maintainers and contributors
1237
- - resolves [#1393](https://github.com/mochajs/mocha/issues/1393): kill children with more effort on SIGINT
1238
- - xunit reporter support for optionally writing to a file
1239
- - if a reporter has a .done method, call it before exiting
1240
- - add support for reporter options
1241
- - only write to stdout in reporters
1242
-
1243
- # 2.0.0 / 2014-10-21
1244
-
1245
- - remove: support for node 0.6.x, 0.4.x
1246
- - fix: landing reporter with non ansi characters ([#211](https://github.com/mochajs/mocha/issues/211))
1247
- - fix: html reporter - preserve query params when navigating to suites/tests ([#1358](https://github.com/mochajs/mocha/issues/1358))
1248
- - fix: json stream reporter add error message to failed test
1249
- - fix: fixes for visionmedia -> mochajs
1250
- - fix: use stdio, fixes node deprecation warnings ([#1391](https://github.com/mochajs/mocha/issues/1391))
1251
-
1252
- # 1.21.5 / 2014-10-11
1253
-
1254
- - fix: build for NodeJS v0.6.x
1255
- - fix: do not attempt to highlight syntax when non-HTML reporter is used
1256
- - update: escape-string-regexp to 1.0.2.
1257
- - fix: botched indentation in canonicalize()
1258
- - fix: .gitignore: ignore .patch and .diff files
1259
- - fix: changed 'Catched' to 'Caught' in uncaught exception error handler messages
1260
- - add: `pending` field for json reporter
1261
- - fix: Runner.prototype.uncaught: don't double-end runnables that already have a state.
1262
- - fix: --recursive, broken by [`f0facd2`](https://github.com/mochajs/mocha/commit/f0facd2e)
1263
- - update: replaces escapeRegexp with the escape-string-regexp package.
1264
- - update: commander to 2.3.0.
1265
- - update: diff to 1.0.8.
1266
- - fix: ability to disable syntax highlighting ([#1329](https://github.com/mochajs/mocha/issues/1329))
1267
- - fix: added empty object to errorJSON() call to catch when no error is present
1268
- - fix: never time out after calling enableTimeouts(false)
1269
- - fix: timeout(0) will work at suite level ([#1300](https://github.com/mochajs/mocha/issues/1300))
1270
- - Fix for --watch+only() issue ([#888](https://github.com/mochajs/mocha/issues/888) )
1271
- - fix: respect err.showDiff, add Base reporter test ([#810](https://github.com/mochajs/mocha/issues/810))
1272
-
1273
- # 1.22.1-3 / 2014-07-27
1274
-
1275
- - fix: disabling timeouts with this.timeout(0) ([#1301](https://github.com/mochajs/mocha/issues/1301))
1276
-
1277
- # 1.22.1-3 / 2014-07-27
1278
-
1279
- - fix: local uis and reporters ([#1288](https://github.com/mochajs/mocha/issues/1288))
1280
- - fix: building 1.21.0's changes in the browser ([#1284](https://github.com/mochajs/mocha/issues/1284))
1281
-
1282
- # 1.21.0 / 2014-07-23
1283
-
1284
- - add: --no-timeouts option ([#1262](https://github.com/mochajs/mocha/issues/1262), [#1268](https://github.com/mochajs/mocha/issues/1268))
1285
- - add: --\*- deprecation node flags ([#1217](https://github.com/mochajs/mocha/issues/1217))
1286
- - add: --watch-extensions argument ([#1247](https://github.com/mochajs/mocha/issues/1247))
1287
- - change: spec reporter is default ([#1228](https://github.com/mochajs/mocha/issues/1228))
1288
- - fix: diff output showing incorrect +/- ([#1182](https://github.com/mochajs/mocha/issues/1182))
1289
- - fix: diffs of circular structures ([#1179](https://github.com/mochajs/mocha/issues/1179))
1290
- - fix: re-render the progress bar when progress has changed only ([#1151](https://github.com/mochajs/mocha/issues/1151))
1291
- - fix support for environments with global and window ([#1159](https://github.com/mochajs/mocha/issues/1159))
1292
- - fix: reverting to previously defined onerror handler ([#1178](https://github.com/mochajs/mocha/issues/1178))
1293
- - fix: stringify non error objects passed to done() ([#1270](https://github.com/mochajs/mocha/issues/1270))
1294
- - fix: using local ui, reporters ([#1267](https://github.com/mochajs/mocha/issues/1267))
1295
- - fix: cleaning es6 arrows ([#1176](https://github.com/mochajs/mocha/issues/1176))
1296
- - fix: don't include attrs in failure tag for xunit ([#1244](https://github.com/mochajs/mocha/issues/1244))
1297
- - fix: fail tests that return a promise if promise is rejected w/o a reason ([#1224](https://github.com/mochajs/mocha/issues/1224))
1298
- - fix: showing failed tests in doc reporter ([#1117](https://github.com/mochajs/mocha/issues/1117))
1299
- - fix: dot reporter dots being off ([#1204](https://github.com/mochajs/mocha/issues/1204))
1300
- - fix: catch empty throws ([#1219](https://github.com/mochajs/mocha/issues/1219))
1301
- - fix: honoring timeout for sync operations ([#1242](https://github.com/mochajs/mocha/issues/1242))
1302
- - update: growl to 1.8.0
1303
-
1304
- # 1.20.1 / 2014-06-03
1305
-
1306
- - update: should dev dependency to ~4.0.0 ([#1231](https://github.com/mochajs/mocha/issues/1231))
1307
-
1308
- # 1.20.0 / 2014-05-28
1309
-
1310
- - add: filenames to suite objects ([#1222](https://github.com/mochajs/mocha/issues/1222))
1311
-
1312
- # 1.19.0 / 2014-05-17
1313
-
1314
- - add: browser script option to package.json
1315
- - add: export file in Mocha.Test objects ([#1174](https://github.com/mochajs/mocha/issues/1174))
1316
- - add: add docs for wrapped node flags
1317
- - fix: mocha.run() to return error status in browser ([#1216](https://github.com/mochajs/mocha/issues/1216))
1318
- - fix: clean() to show failure details ([#1205](https://github.com/mochajs/mocha/issues/1205))
1319
- - fix: regex that generates html for new keyword ([#1201](https://github.com/mochajs/mocha/issues/1201))
1320
- - fix: sibling suites have inherited but separate contexts ([#1164](https://github.com/mochajs/mocha/issues/1164))
1321
-
1322
- # 1.18.2 / 2014-03-18
1323
-
1324
- - fix: html runner was prevented from using #mocha as the default root el ([#1162](https://github.com/mochajs/mocha/issues/1162))
1325
-
1326
- # 1.18.1 / 2014-03-18
1327
-
1328
- - fix: named before/after hooks in bdd, tdd, qunit interfaces ([#1161](https://github.com/mochajs/mocha/issues/1161))
1329
-
1330
- # 1.18.0 / 2014-03-13
1331
-
1332
- - add: promise support ([#329](https://github.com/mochajs/mocha/issues/329))
1333
- - add: named before/after hooks ([#966](https://github.com/mochajs/mocha/issues/966))
1334
-
1335
- # 1.17.1 / 2014-01-22
1336
-
1337
- - fix: expected messages in should.js (should.js#168)
1338
- - fix: expect errno global in node versions < v0.9.11 ([#1111](https://github.com/mochajs/mocha/issues/1111))
1339
- - fix: unreliable checkGlobals optimization ([#1110](https://github.com/mochajs/mocha/issues/1110))
1340
-
1341
- # 1.17.0 / 2014-01-09
1342
-
1343
- - add: able to require globals (describe, it, etc.) through mocha ([#1077](https://github.com/mochajs/mocha/issues/1077))
1344
- - fix: abort previous run on --watch change ([#1100](https://github.com/mochajs/mocha/issues/1100))
1345
- - fix: reset context for each --watch triggered run ([#1099](https://github.com/mochajs/mocha/issues/1099))
1346
- - fix: error when cli can't resolve path or pattern ([#799](https://github.com/mochajs/mocha/issues/799))
1347
- - fix: canonicalize objects before stringifying and diffing them ([#1079](https://github.com/mochajs/mocha/issues/1079))
1348
- - fix: make CR call behave like carriage return for non tty ([#1087](https://github.com/mochajs/mocha/issues/1087))
1349
-
1350
- # 1.16.2 / 2013-12-23
1351
-
1352
- - fix: couple issues with ie 8 ([#1082](https://github.com/mochajs/mocha/issues/1082), [#1081](https://github.com/mochajs/mocha/issues/1081))
1353
- - fix: issue running the xunit reporter in browsers ([#1068](https://github.com/mochajs/mocha/issues/1068))
1354
- - fix: issue with firefox < 3.5 ([#725](https://github.com/mochajs/mocha/issues/725))
1355
-
1356
- # 1.16.1 / 2013-12-19
1357
-
1358
- - fix: recompiled for missed changes from the last release
1359
-
1360
- # 1.16.0 / 2013-12-19
1361
-
1362
- - add: Runnable.globals(arr) for per test global whitelist ([#1046](https://github.com/mochajs/mocha/issues/1046))
1363
- - add: mocha.throwError(err) for assertion libs to call ([#985](https://github.com/mochajs/mocha/issues/985))
1364
- - remove: --watch's spinner ([#806](https://github.com/mochajs/mocha/issues/806))
1365
- - fix: duplicate test output for multi-line specs in spec reporter ([#1006](https://github.com/mochajs/mocha/issues/1006))
1366
- - fix: gracefully exit on SIGINT ([#1063](https://github.com/mochajs/mocha/issues/1063))
1367
- - fix expose the specified ui only in the browser ([#984](https://github.com/mochajs/mocha/issues/984))
1368
- - fix: ensure process exit code is preserved when using --no-exit ([#1059](https://github.com/mochajs/mocha/issues/1059))
1369
- - fix: return true from window.onerror handler ([#868](https://github.com/mochajs/mocha/issues/868))
1370
- - fix: xunit reporter to use process.stdout.write ([#1068](https://github.com/mochajs/mocha/issues/1068))
1371
- - fix: utils.clean(str) indentation ([#761](https://github.com/mochajs/mocha/issues/761))
1372
- - fix: xunit reporter returning test duration a NaN ([#1039](https://github.com/mochajs/mocha/issues/1039))
1373
-
1374
- # 1.15.1 / 2013-12-03
1375
-
1376
- - fix: recompiled for missed changes from the last release
1377
-
1378
- # 1.15.0 / 2013-12-02
1379
-
1380
- - add: `--no-exit` to prevent `process.exit()` ([#1018](https://github.com/mochajs/mocha/issues/1018))
1381
- - fix: using inline diffs ([#1044](https://github.com/mochajs/mocha/issues/1044))
1382
- - fix: show pending test details in xunit reporter ([#1051](https://github.com/mochajs/mocha/issues/1051))
1383
- - fix: faster global leak detection ([#1024](https://github.com/mochajs/mocha/issues/1024))
1384
- - fix: yui compression ([#1035](https://github.com/mochajs/mocha/issues/1035))
1385
- - fix: wrapping long lines in test results ([#1030](https://github.com/mochajs/mocha/issues/1030), [#1031](https://github.com/mochajs/mocha/issues/1031))
1386
- - fix: handle errors in hooks ([#1043](https://github.com/mochajs/mocha/issues/1043))
1387
-
1388
- # 1.14.0 / 2013-11-02
1389
-
1390
- - add: unified diff ([#862](https://github.com/mochajs/mocha/issues/862))
1391
- - add: set MOCHA_COLORS env var to use colors ([#965](https://github.com/mochajs/mocha/issues/965))
1392
- - add: able to override tests links in html reporters ([#776](https://github.com/mochajs/mocha/issues/776))
1393
- - remove: teamcity reporter ([#954](https://github.com/mochajs/mocha/issues/954))
1394
- - update: commander dependency to 2.0.0 ([#1010](https://github.com/mochajs/mocha/issues/1010))
1395
- - fix: mocha --ui will try to require the ui if not built in, as --reporter does ([#1022](https://github.com/mochajs/mocha/issues/1022))
1396
- - fix: send cursor commands only if isatty ([#184](https://github.com/mochajs/mocha/issues/184), [#1003](https://github.com/mochajs/mocha/issues/1003))
1397
- - fix: include assertion message in base reporter ([#993](https://github.com/mochajs/mocha/issues/993), [#991](https://github.com/mochajs/mocha/issues/991))
1398
- - fix: consistent return of it, it.only, and describe, describe.only ([#840](https://github.com/mochajs/mocha/issues/840))
1399
-
1400
- # 1.13.0 / 2013-09-15
1401
-
1402
- - add: sort test files with --sort ([#813](https://github.com/mochajs/mocha/issues/813))
1403
- - update: diff dependency to 1.0.7
1404
- - update: glob dependency to 3.2.3 ([#927](https://github.com/mochajs/mocha/issues/927))
1405
- - fix: diffs show whitespace differences ([#976](https://github.com/mochajs/mocha/issues/976))
1406
- - fix: improve global leaks ([#783](https://github.com/mochajs/mocha/issues/783))
1407
- - fix: firefox window.getInterface leak
1408
- - fix: accessing iframe via window[iframeIndex] leak
1409
- - fix: faster global leak checking
1410
- - fix: reporter pending css selector ([#970](https://github.com/mochajs/mocha/issues/970))
1411
-
1412
- # 1.12.1 / 2013-08-29
1413
-
1414
- - remove test.js from .gitignore
1415
- - update included version of ms.js
1416
-
1417
- # 1.12.0 / 2013-07-01
1418
-
1419
- - add: prevent diffs for differing types. Closes [#900](https://github.com/mochajs/mocha/issues/900)
1420
- - add `Mocha.process` hack for phantomjs
1421
- - fix: use compilers with requires
1422
- - fix regexps in diffs. Closes [#890](https://github.com/mochajs/mocha/issues/890)
1423
- - fix xunit NaN on failure. Closes [#894](https://github.com/mochajs/mocha/issues/894)
1424
- - fix: strip tab indentation in `clean` utility method
1425
- - fix: textmate bundle installation
1426
-
1427
- # 1.11.0 / 2013-06-12
1428
-
1429
- - add --prof support
1430
- - add --harmony support
1431
- - add --harmony-generators support
1432
- - add "Uncaught " prefix to uncaught exceptions
1433
- - add web workers support
1434
- - add `suite.skip()`
1435
- - change to output # of pending / passing even on failures. Closes [#872](https://github.com/mochajs/mocha/issues/872)
1436
- - fix: prevent hooks from being called if we are bailing
1437
- - fix `this.timeout(0)`
1438
-
1439
- # 1.10.0 / 2013-05-21
1440
-
1441
- - add add better globbing support for windows via `glob` module
1442
- - add support to pass through flags such as --debug-brk=1234. Closes [#852](https://github.com/mochajs/mocha/issues/852)
1443
- - add test.only, test.skip to qunit interface
1444
- - change to always use word-based diffs for now. Closes [#733](https://github.com/mochajs/mocha/issues/733)
1445
- - change `mocha init` tests.html to index.html
1446
- - fix `process` global leak in the browser
1447
- - fix: use resolve() instead of join() for --require
1448
- - fix: filterLeaks() condition to not consider indices in global object as leaks
1449
- - fix: restrict mocha.css styling to #mocha id
1450
- - fix: save timer references to avoid Sinon interfering in the browser build.
1451
-
1452
- # 1.9.0 / 2013-04-03
1453
-
1454
- - add improved setImmediate implementation
1455
- - replace --ignore-leaks with --check-leaks
1456
- - change default of ignoreLeaks to true. Closes [#791](https://github.com/mochajs/mocha/issues/791)
1457
- - remove scrolling for HTML reporter
1458
- - fix retina support
1459
- - fix tmbundle, restrict to js scope
1460
-
1461
- # 1.8.2 / 2013-03-11
1462
-
1463
- - add `setImmediate` support for 0.10.x
1464
- - fix mocha -w spinner on windows
1465
-
1466
- # 1.8.1 / 2013-01-09
1467
-
1468
- - fix .bail() arity check causing it to default to true
1469
-
1470
- # 1.8.0 / 2013-01-08
1471
-
1472
- - add Mocha() options bail support
1473
- - add `Mocha#bail()` method
1474
- - add instanceof check back for inheriting from Error
1475
- - add component.json
1476
- - add diff.js to browser build
1477
- - update growl
1478
- - fix TAP reporter failures comment :D
1479
-
1480
- # 1.7.4 / 2012-12-06
1481
-
1482
- - add total number of passes and failures to TAP
1483
- - remove .bind() calls. re [#680](https://github.com/mochajs/mocha/issues/680)
1484
- - fix indexOf. Closes [#680](https://github.com/mochajs/mocha/issues/680)
1485
-
1486
- # 1.7.3 / 2012-11-30
1487
-
1488
- - fix uncaught error support for the browser
1489
- - revert uncaught "fix" which breaks node
1490
-
1491
- # 1.7.2 / 2012-11-28
1492
-
1493
- - fix uncaught errors to expose the original error message
1494
-
1495
- # 1.7.0 / 2012-11-07
1496
-
1497
- - add `--async-only` support to prevent false positives for missing `done()`
1498
- - add sorting by filename in code coverage
1499
- - add HTML 5 doctype to browser template.
1500
- - add play button to html reporter to rerun a single test
1501
- - add `this.timeout(ms)` as Suite#timeout(ms). Closes [#599](https://github.com/mochajs/mocha/issues/599)
1502
- - update growl dependency to 1.6.x
1503
- - fix encoding of test-case ?grep. Closes [#637](https://github.com/mochajs/mocha/issues/637)
1504
- - fix unicode chars on windows
1505
- - fix dom globals in Opera/IE. Closes [#243](https://github.com/mochajs/mocha/issues/243)
1506
- - fix markdown reporter a tags
1507
- - fix `this.timeout("5s")` support
1508
-
1509
- # 1.6.0 / 2012-10-02
1510
-
1511
- - add object diffs when `err.showDiff` is present
1512
- - add hiding of empty suites when pass/failures are toggled
1513
- - add faster `.length` checks to `checkGlobals()` before performing the filter
1514
-
1515
- # 1.5.0 / 2012-09-21
1516
-
1517
- - add `ms()` to `.slow()` and `.timeout()`
1518
- - add `Mocha#checkLeaks()` to re-enable global leak checks
1519
- - add `this.slow()` option [aheckmann]
1520
- - add tab, CR, LF to error diffs for now
1521
- - add faster `.checkGlobals()` solution [guille]
1522
- - remove `fn.call()` from reduce util
1523
- - remove `fn.call()` from filter util
1524
- - fix forEach. Closes [#582](https://github.com/mochajs/mocha/issues/582)
1525
- - fix relaying of signals [TooTallNate]
1526
- - fix TAP reporter grep number
1527
-
1528
- # 1.4.2 / 2012-09-01
1529
-
1530
- - add support to multiple `Mocha#globals()` calls, and strings
1531
- - add `mocha.reporter()` constructor support [jfirebaugh]
1532
- - add `mocha.timeout()`
1533
- - move query-string parser to utils.js
1534
- - move highlight code to utils.js
1535
- - fix third-party reporter support [exogen]
1536
- - fix client-side API to match node-side [jfirebaugh]
1537
- - fix mocha in iframe [joliss]
1538
-
1539
- # 1.4.1 / 2012-08-28
1540
-
1541
- - add missing `Markdown` export
1542
- - fix `Mocha#grep()`, escape regexp strings
1543
- - fix reference error when `devicePixelRatio` is not defined. Closes [#549](https://github.com/mochajs/mocha/issues/549)
1544
-
1545
- # 1.4.0 / 2012-08-22
1546
-
1547
- - add mkdir -p to `mocha init`. Closes [#539](https://github.com/mochajs/mocha/issues/539)
1548
- - add `.only()`. Closes [#524](https://github.com/mochajs/mocha/issues/524)
1549
- - add `.skip()`. Closes [#524](https://github.com/mochajs/mocha/issues/524)
1550
- - change str.trim() to use utils.trim(). Closes [#533](https://github.com/mochajs/mocha/issues/533)
1551
- - fix HTML progress indicator retina display
1552
- - fix url-encoding of click-to-grep HTML functionality
1553
-
1554
- # 1.3.2 / 2012-08-01
1555
-
1556
- - fix exports double-execution regression. Closes [#531](https://github.com/mochajs/mocha/issues/531)
1557
-
1558
- # 1.3.1 / 2012-08-01
1559
-
1560
- - add passes/failures toggling to HTML reporter
1561
- - add pending state to `xit()` and `xdescribe()` [Brian Moore]
1562
- - add the [**@charset**](https://github.com/charset) "UTF-8"; to fix [#522](https://github.com/mochajs/mocha/issues/522) with FireFox. [Jonathan Creamer]
1563
- - add border-bottom to #stats links
1564
- - add check for runnable in `Runner#uncaught()`. Closes [#494](https://github.com/mochajs/mocha/issues/494)
1565
- - add 0.4 and 0.6 back to travis.yml
1566
- - add `-E, --growl-errors` to growl on failures only
1567
- - add prefixes to debug() names. Closes [#497](https://github.com/mochajs/mocha/issues/497)
1568
- - add `Mocha#invert()` to js api
1569
- - change dot reporter to use sexy unicode dots
1570
- - fix error when clicking pending test in HTML reporter
1571
- - fix `make tm`
1572
-
1573
- # 1.3.0 / 2012-07-05
1574
-
1575
- - add window scrolling to `HTML` reporter
1576
- - add v8 `--trace-*` option support
1577
- - add support for custom reports via `--reporter MODULE`
1578
- - add `--invert` switch to invert `--grep` matches
1579
- - fix export of `Nyan` reporter. Closes [#495](https://github.com/mochajs/mocha/issues/495)
1580
- - fix escaping of `HTML` suite titles. Closes [#486](https://github.com/mochajs/mocha/issues/486)
1581
- - fix `done()` called multiple times with an error test
1582
- - change `--grep` - regexp escape the input
1583
-
1584
- # 1.2.2 / 2012-06-28
1585
-
1586
- - Added 0.8.0 support
1587
-
1588
- # 1.2.1 / 2012-06-25
1589
-
1590
- - Added `this.test.error(err)` support to after each hooks. Closes [#287](https://github.com/mochajs/mocha/issues/287)
1591
- - Added: export top-level suite on global mocha object (mocha.suite). Closes [#448](https://github.com/mochajs/mocha/issues/448)
1592
- - Fixed `js` code block format error in markdown reporter
1593
- - Fixed deprecation warning when using `path.existsSync`
1594
- - Fixed --globals with wildcard
1595
- - Fixed chars in nyan when his head moves back
1596
- - Remove `--growl` from test/mocha.opts. Closes [#289](https://github.com/mochajs/mocha/issues/289)
1597
-
1598
- # 1.2.0 / 2012-06-17
1599
-
1600
- - Added `nyan` reporter [Atsuya Takagi]
1601
- - Added `mocha init <path>` to copy client files
1602
- - Added "specify" synonym for "it" [domenic]
1603
- - Added global leak wildcard support [nathanbowser]
1604
- - Fixed runner emitter leak. closes [#432](https://github.com/mochajs/mocha/issues/432)
1605
- - Fixed omission of .js extension. Closes [#454](https://github.com/mochajs/mocha/issues/454)
1606
-
1607
- # 1.1.0 / 2012-05-30
1608
-
1609
- - Added: check each `mocha(1)` arg for directories to walk
1610
- - Added `--recursive` [tricknotes]
1611
- - Added `context` for BDD [hokaccha]
1612
- - Added styling for new clickable titles
1613
- - Added clickable suite titles to HTML reporter
1614
- - Added warning when strings are thrown as errors
1615
- - Changed: green arrows again in HTML reporter styling
1616
- - Changed ul/li elements instead of divs for better copy-and-pasting [joliss]
1617
- - Fixed issue [#325](https://github.com/mochajs/mocha/issues/325) - add better grep support to js api
1618
- - Fixed: save timer references to avoid Sinon interfering.
1619
-
1620
- # 1.0.3 / 2012-04-30
1621
-
1622
- - Fixed string diff newlines
1623
- - Fixed: removed mocha.css target. Closes [#401](https://github.com/mochajs/mocha/issues/401)
1624
-
1625
- # 1.0.2 / 2012-04-25
1626
-
1627
- - Added HTML reporter duration. Closes [#47](https://github.com/mochajs/mocha/issues/47)
1628
- - Fixed: one postMessage event listener [exogen]
1629
- - Fixed: allow --globals to be used multiple times. Closes [#100](https://github.com/mochajs/mocha/issues/100) [brendannee]
1630
- - Fixed [#158](https://github.com/mochajs/mocha/issues/158): removes jquery include from browser tests
1631
- - Fixed grep. Closes [#372](https://github.com/mochajs/mocha/issues/372) [brendannee]
1632
- - Fixed [#166](https://github.com/mochajs/mocha/issues/166) - When grepping don't display the empty suites
1633
- - Removed test/browser/style.css. Closes [#385](https://github.com/mochajs/mocha/issues/385)
1634
-
1635
- # 1.0.1 / 2012-04-04
1636
-
1637
- - Fixed `.timeout()` in hooks
1638
- - Fixed: allow callback for `mocha.run()` in client version
1639
- - Fixed browser hook error display. Closes [#361](https://github.com/mochajs/mocha/issues/361)
1640
-
1641
- # 1.0.0 / 2012-03-24
1642
-
1643
- - Added js API. Closes [#265](https://github.com/mochajs/mocha/issues/265)
1644
- - Added: initial run of tests with `--watch`. Closes [#345](https://github.com/mochajs/mocha/issues/345)
1645
- - Added: mark `location` as a global on the CS. Closes [#311](https://github.com/mochajs/mocha/issues/311)
1646
- - Added `markdown` reporter (github flavour)
1647
- - Added: scrolling menu to coverage.html. Closes [#335](https://github.com/mochajs/mocha/issues/335)
1648
- - Added source line to html report for Safari [Tyson Tate]
1649
- - Added "min" reporter, useful for `--watch` [Jakub Nešetřil]
1650
- - Added support for arbitrary compilers via . Closes [#338](https://github.com/mochajs/mocha/issues/338) [Ian Young]
1651
- - Added Teamcity export to lib/reporters/index [Michael Riley]
1652
- - Fixed chopping of first char in error reporting. Closes [#334](https://github.com/mochajs/mocha/issues/334) [reported by topfunky]
1653
- - Fixed terrible FF / Opera stack traces
1654
-
1655
- # 0.14.1 / 2012-03-06
1656
-
1657
- - Added lib-cov to _.npmignore_
1658
- - Added reporter to `mocha.run([reporter])` as argument
1659
- - Added some margin-top to the HTML reporter
1660
- - Removed jQuery dependency
1661
- - Fixed `--watch`: purge require cache. Closes [#266](https://github.com/mochajs/mocha/issues/266)
1662
-
1663
- # 0.14.0 / 2012-03-01
1664
-
1665
- - Added string diff support for terminal reporters
1666
-
1667
- # 0.13.0 / 2012-02-23
1668
-
1669
- - Added preliminary test coverage support. Closes [#5](https://github.com/mochajs/mocha/issues/5)
1670
- - Added `HTMLCov` reporter
1671
- - Added `JSONCov` reporter [kunklejr]
1672
- - Added `xdescribe()` and `xit()` to the BDD interface. Closes [#263](https://github.com/mochajs/mocha/issues/263) (docs \* Changed: make json reporter output pretty json
1673
- - Fixed node-inspector support, swapped `--debug` for `debug` to match node. Closes [#247](https://github.com/mochajs/mocha/issues/247)
1674
-
1675
- # 0.12.1 / 2012-02-14
1676
-
1677
- - Added `npm docs mocha` support [TooTallNate]
1678
- - Added a `Context` object used for hook and test-case this. Closes [#253](https://github.com/mochajs/mocha/issues/253)
1679
- - Fixed `Suite#clone()` `.ctx` reference. Closes [#262](https://github.com/mochajs/mocha/issues/262)
1680
-
1681
- # 0.12.0 / 2012-02-02
1682
-
1683
- - Added .coffee `--watch` support. Closes [#242](https://github.com/mochajs/mocha/issues/242)
1684
- - Added support to `--require` files relative to the CWD. Closes [#241](https://github.com/mochajs/mocha/issues/241)
1685
- - Added quick n dirty syntax highlighting. Closes [#248](https://github.com/mochajs/mocha/issues/248)
1686
- - Changed: made HTML progress indicator smaller
1687
- - Fixed xunit errors attribute [dhendo]
1688
-
1689
- # 0.10.2 / 2012-01-21
1690
-
1691
- - Fixed suite count in reporter stats. Closes [#222](https://github.com/mochajs/mocha/issues/222)
1692
- - Fixed `done()` after timeout error reporting [Phil Sung]
1693
- - Changed the 0-based errors to 1
1694
-
1695
- # 0.10.1 / 2012-01-17
1696
-
1697
- - Added support for node 0.7.x
1698
- - Fixed absolute path support. Closes [#215](https://github.com/mochajs/mocha/issues/215) [kompiro]
1699
- - Fixed `--no-colors` option [Jussi Virtanen]
1700
- - Fixed Arial CSS typo in the correct file
1701
-
1702
- # 0.10.0 / 2012-01-13
1703
-
1704
- - Added `-b, --bail` to exit on first exception [guillermo]
1705
- - Added support for `-gc` / `--expose-gc` [TooTallNate]
1706
- - Added `qunit`-inspired interface
1707
- - Added MIT LICENSE. Closes [#194](https://github.com/mochajs/mocha/issues/194)
1708
- - Added: `--watch` all .js in the CWD. Closes [#139](https://github.com/mochajs/mocha/issues/139)
1709
- - Fixed `self.test` reference in runner. Closes [#189](https://github.com/mochajs/mocha/issues/189)
1710
- - Fixed double reporting of uncaught exceptions after timeout. Closes [#195](https://github.com/mochajs/mocha/issues/195)
1711
-
1712
- # 0.8.2 / 2012-01-05
1713
-
1714
- - Added test-case context support. Closes [#113](https://github.com/mochajs/mocha/issues/113)
1715
- - Fixed exit status. Closes [#187](https://github.com/mochajs/mocha/issues/187)
1716
- - Update commander. Closes [#190](https://github.com/mochajs/mocha/issues/190)
1717
-
1718
- # 0.8.1 / 2011-12-30
1719
-
1720
- - Fixed reporting of uncaught exceptions. Closes [#183](https://github.com/mochajs/mocha/issues/183)
1721
- - Fixed error message defaulting [indutny]
1722
- - Changed mocha(1) from bash to node for windows [Nathan Rajlich]
1723
-
1724
- # 0.8.0 / 2011-12-28
1725
-
1726
- - Added `XUnit` reporter [FeeFighters/visionmedia]
1727
- - Added `say(1)` notification support [Maciej Małecki]
1728
- - Changed: fail when done() is invoked with a non-Error. Closes [#171](https://github.com/mochajs/mocha/issues/171)
1729
- - Fixed `err.stack`, defaulting to message. Closes [#180](https://github.com/mochajs/mocha/issues/180)
1730
- - Fixed: `make tm` mkdir -p the dest. Closes [#137](https://github.com/mochajs/mocha/issues/137)
1731
- - Fixed mocha(1) --help bin name
1732
- - Fixed `-d` for `--debug` support
1733
-
1734
- # 0.7.1 / 2011-12-22
1735
-
1736
- - Removed `mocha-debug(1)`, use `mocha --debug`
1737
- - Fixed CWD relative requires
1738
- - Fixed growl issue on windows [Raynos]
1739
- - Fixed: platform specific line endings [TooTallNate]
1740
- - Fixed: escape strings in HTML reporter. Closes [#164](https://github.com/mochajs/mocha/issues/164)
1741
-
1742
- # 0.7.0 / 2011-12-18
1743
-
1744
- - Added support for IE{7,8} [guille]
1745
- - Changed: better browser nextTick implementation [guille]
1746
-
1747
- # 0.6.0 / 2011-12-18
1748
-
1749
- - Added setZeroTimeout timeout for browser (nicer stack traces). Closes [#153](https://github.com/mochajs/mocha/issues/153)
1750
- - Added "view source" on hover for HTML reporter to make it obvious
1751
- - Changed: replace custom growl with growl lib
1752
- - Fixed duplicate reporting for HTML reporter. Closes [#154](https://github.com/mochajs/mocha/issues/154)
1753
- - Fixed silent hook errors in the HTML reporter. Closes [#150](https://github.com/mochajs/mocha/issues/150)
1754
-
1755
- # 0.5.0 / 2011-12-14
1756
-
1757
- - Added: push node_modules directory onto module.paths for relative require Closes [#93](https://github.com/mochajs/mocha/issues/93)
1758
- - Added teamcity reporter [blindsey]
1759
- - Fixed: recover from uncaught exceptions for tests. Closes [#94](https://github.com/mochajs/mocha/issues/94)
1760
- - Fixed: only emit "test end" for uncaught within test, not hook
1761
-
1762
- # 0.4.0 / 2011-12-14
1763
-
1764
- - Added support for test-specific timeouts via `this.timeout(0)`. Closes [#134](https://github.com/mochajs/mocha/issues/134)
1765
- - Added guillermo's client-side EventEmitter. Closes [#132](https://github.com/mochajs/mocha/issues/132)
1766
- - Added progress indicator to the HTML reporter
1767
- - Fixed slow browser tests. Closes [#135](https://github.com/mochajs/mocha/issues/135)
1768
- - Fixed "suite" color for light terminals
1769
- - Fixed `require()` leak spotted by [guillermo]
1770
-
1771
- # 0.3.6 / 2011-12-09
1772
-
1773
- - Removed suite merging (for now)
1774
-
1775
- # 0.3.5 / 2011-12-08
1776
-
1777
- - Added support for `window.onerror` [guillermo]
1778
- - Fixed: clear timeout on uncaught exceptions. Closes [#131](https://github.com/mochajs/mocha/issues/131) [guillermo]
1779
- - Added `mocha.css` to PHONY list.
1780
- - Added `mocha.js` to PHONY list.
1781
-
1782
- # 0.3.4 / 2011-12-08
1783
-
1784
- - Added: allow `done()` to be called with non-Error
1785
- - Added: return Runner from `mocha.run()`. Closes [#126](https://github.com/mochajs/mocha/issues/126)
1786
- - Fixed: run afterEach even on failures. Closes [#125](https://github.com/mochajs/mocha/issues/125)
1787
- - Fixed clobbering of current runnable. Closes [#121](https://github.com/mochajs/mocha/issues/121)
1788
-
1789
- # 0.3.3 / 2011-12-08
1790
-
1791
- - Fixed hook timeouts. Closes [#120](https://github.com/mochajs/mocha/issues/120)
1792
- - Fixed uncaught exceptions in hooks
1793
-
1794
- # 0.3.2 / 2011-12-05
1795
-
1796
- - Fixed weird reporting when `err.message` is not present
1797
-
1798
- # 0.3.1 / 2011-12-04
1799
-
1800
- - Fixed hook event emitter leak. Closes [#117](https://github.com/mochajs/mocha/issues/117)
1801
- - Fixed: export `Spec` constructor. Closes [#116](https://github.com/mochajs/mocha/issues/116)
1802
-
1803
- # 0.3.0 / 2011-12-04
1804
-
1805
- - Added `-w, --watch`. Closes [#72](https://github.com/mochajs/mocha/issues/72)
1806
- - Added `--ignore-leaks` to ignore global leak checking
1807
- - Added browser `?grep=pattern` support
1808
- - Added `--globals <names>` to specify accepted globals. Closes [#99](https://github.com/mochajs/mocha/issues/99)
1809
- - Fixed `mocha-debug(1)` on some systems. Closes [#232](https://github.com/mochajs/mocha/issues/232)
1810
- - Fixed growl total, use `runner.total`
1811
-
1812
- # 0.2.0 / 2011-11-30
1813
-
1814
- - Added `--globals <names>` to specify accepted globals. Closes [#99](https://github.com/mochajs/mocha/issues/99)
1815
- - Fixed funky highlighting of messages. Closes [#97](https://github.com/mochajs/mocha/issues/97)
1816
- - Fixed `mocha-debug(1)`. Closes [#232](https://github.com/mochajs/mocha/issues/232)
1817
- - Fixed growl total, use runner.total
1818
-
1819
- # 0.1.0 / 2011-11-29
1820
-
1821
- - Added `suiteSetup` and `suiteTeardown` to TDD interface [David Henderson]
1822
- - Added growl icons. Closes [#84](https://github.com/mochajs/mocha/issues/84)
1823
- - Fixed coffee-script support
1824
-
1825
- # 0.0.8 / 2011-11-25
1826
-
1827
- - Fixed: use `Runner#total` for accurate reporting
1828
-
1829
- # 0.0.7 / 2011-11-25
1830
-
1831
- - Added `Hook`
1832
- - Added `Runnable`
1833
- - Changed: `Test` is `Runnable`
1834
- - Fixed global leak reporting in hooks
1835
- - Fixed: > 2 calls to done() only report the error once
1836
- - Fixed: clear timer on failure. Closes [#80](https://github.com/mochajs/mocha/issues/80)
1837
-
1838
- # 0.0.6 / 2011-11-25
1839
-
1840
- - Fixed return on immediate async error. Closes [#80](https://github.com/mochajs/mocha/issues/80)
1841
-
1842
- # 0.0.5 / 2011-11-24
1843
-
1844
- - Fixed: make mocha.opts whitespace less picky [kkaefer]
1845
-
1846
- # 0.0.4 / 2011-11-24
1847
-
1848
- - Added `--interfaces`
1849
- - Added `--reporters`
1850
- - Added `-c, --colors`. Closes [#69](https://github.com/mochajs/mocha/issues/69)
1851
- - Fixed hook timeouts
1852
-
1853
- # 0.0.3 / 2011-11-23
1854
-
1855
- - Added `-C, --no-colors` to explicitly disable
1856
- - Added coffee-script support
1857
-
1858
- # 0.0.2 / 2011-11-22
1859
-
1860
- - Fixed global leak detection due to Safari bind() change
1861
- - Fixed: escape html entities in Doc reporter
1862
- - Fixed: escape html entities in HTML reporter
1863
- - Fixed pending test support for HTML reporter. Closes [#66](https://github.com/mochajs/mocha/issues/66)
1864
-
1865
- # 0.0.1 / 2011-11-22
1866
-
1867
- - Added `--timeout` second shorthand support, ex `--timeout 3s`.
1868
- - Fixed "test end" event for uncaughtExceptions. Closes [#61](https://github.com/mochajs/mocha/issues/61)
1869
-
1870
- # 0.0.1-alpha6 / 2011-11-19
1871
-
1872
- - Added travis CI support (needs enabling when public)
1873
- - Added preliminary browser support
1874
- - Added `make mocha.css` target. Closes [#45](https://github.com/mochajs/mocha/issues/45)
1875
- - Added stack trace to TAP errors. Closes [#52](https://github.com/mochajs/mocha/issues/52)
1876
- - Renamed tearDown to teardown. Closes [#49](https://github.com/mochajs/mocha/issues/49)
1877
- - Fixed: cascading hooksc. Closes [#30](https://github.com/mochajs/mocha/issues/30)
1878
- - Fixed some colors for non-tty
1879
- - Fixed errors thrown in sync test-cases due to nextTick
1880
- - Fixed Base.window.width... again give precedence to 0.6.x
1881
-
1882
- # 0.0.1-alpha5 / 2011-11-17
1883
-
1884
- - Added `doc` reporter. Closes [#33](https://github.com/mochajs/mocha/issues/33)
1885
- - Added suite merging. Closes [#28](https://github.com/mochajs/mocha/issues/28)
1886
- - Added TextMate bundle and `make tm`. Closes [#20](https://github.com/mochajs/mocha/issues/20)
1887
-
1888
- # 0.0.1-alpha4 / 2011-11-15
1889
-
1890
- - Fixed getWindowSize() for 0.4.x
1891
-
1892
- # 0.0.1-alpha3 / 2011-11-15
1893
-
1894
- - Added `-s, --slow <ms>` to specify "slow" test threshold
1895
- - Added `mocha-debug(1)`
1896
- - Added `mocha.opts` support. Closes [#31](https://github.com/mochajs/mocha/issues/31)
1897
- - Added: default [files] to _test/\*.js_
1898
- - Added protection against multiple calls to `done()`. Closes [#35](https://github.com/mochajs/mocha/issues/35)
1899
- - Changed: bright yellow for slow Dot reporter tests
1900
-
1901
- # 0.0.1-alpha2 / 2011-11-08
1902
-
1903
- - Missed this one :)
1904
-
1905
- # 0.0.1-alpha1 / 2011-11-08
1906
-
1907
- - Initial release