Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: karma-runner/karma
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dae189d4d4340095e7389ad911aac30b2c5442d5
Choose a base ref
...
head repository: karma-runner/karma
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 42933c96d011e2f87e01109aeb07121c6b30d97a
Choose a head ref

Commits on Mar 9, 2018

  1. fix(common): Proxy function toString does not contain Proxy.

    Recent change (https://www.chromestatus.com/feature/5666372071718912) means Proxied functions
    no longer throw TypeError.  Change the test to conform to the new reality.
    johnjbarton committed Mar 9, 2018
    Copy the full SHA
    4fb3484 View commit details

Commits on Apr 23, 2018

  1. docs: Outline the basic workflow. (#2974)

    This short narative also helps introduce 'client' and 'context' terminology.
    johnjbarton authored Apr 23, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0b2c690 View commit details
  2. feat(grunt): run check_clean before starting release. (#2978)

    * fix(package.json): sinon-chai 2.13 is not compatible with sinon 4.x
    
    * feat(grunt): run check_clean before starting release.
    
    By checking early we avoid pushing a new version to github that is not then published to npm.
    johnjbarton authored Apr 23, 2018
    Copy the full SHA
    a3ff6c8 View commit details

Commits on Apr 30, 2018

  1. Copy the full SHA
    bc1453e View commit details

Commits on May 2, 2018

  1. Merge pull request #2951 from johnjbarton/fix-2942

    fix(common): Proxy function toString does not contain Proxy.
    zzo authored May 2, 2018
    Copy the full SHA
    a6577d9 View commit details

Commits on May 3, 2018

  1. fix(server): Remove Socket.IO listeners

    Not removing Socket.IO listeners can cause memory issues
    in long running processes that spawn many Karma instance.
    
    Fixes #2980
    briandipalma committed May 3, 2018
    Copy the full SHA
    c3f05ef View commit details
  2. chore(appveyor): Remove npm upgrade step from AppVeyor script

    Upgrading npm can cause build failures in older node.js versions
    see #2981 for details.
    briandipalma committed May 3, 2018
    Copy the full SHA
    b4fddd2 View commit details
  3. fix(UTs): Correct proxy listeners expectation

    Expectations added in #2596
    didn't match `EventEmitter` API for `listeners`.
    briandipalma committed May 3, 2018
    Copy the full SHA
    af9c84a View commit details

Commits on May 4, 2018

  1. Merge pull request #2981 from briandipalma/fix-memory-leak-issue-2673

    fix(server): Remove Socket.IO listeners
    dignifiedquire authored May 4, 2018
    Copy the full SHA
    c2bab1c View commit details
  2. Copy the full SHA
    a5f75c0 View commit details
  3. Copy the full SHA
    80cf39c View commit details
  4. Copy the full SHA
    3add635 View commit details
  5. Copy the full SHA
    6c355f1 View commit details
  6. Merge pull request #2987 from pietermees/patch-1

    Update chokidar
    dignifiedquire authored May 4, 2018
    Copy the full SHA
    a93e281 View commit details
  7. Copy the full SHA
    a328150 View commit details

Commits on May 5, 2018

  1. Merge pull request #2988 from karma-runner/upgrade-lockfile

    chore(deps): update yarn.lock
    dignifiedquire authored May 5, 2018
    Copy the full SHA
    c4beed0 View commit details
  2. Copy the full SHA
    095fc7e View commit details

Commits on May 12, 2018

  1. Merge pull request #2985 from lusarz/refactor-formatters

    refactor(formatters): refactor formatters.js
    dignifiedquire authored May 12, 2018
    Copy the full SHA
    22a3388 View commit details

Commits on May 15, 2018

  1. docs(Files): Increase the discoverability of the custom middleware fe…

    …ature. (#2999)
    
    Also minor content improvements.
    thorn0 authored and johnjbarton committed May 15, 2018
    Copy the full SHA
    57b7938 View commit details
  2. Copy the full SHA
    2bb4e36 View commit details

Commits on May 17, 2018

  1. Copy the full SHA
    e1fbdcb View commit details
  2. Copy the full SHA
    639cd27 View commit details
  3. Copy the full SHA
    582f96f View commit details
  4. Copy the full SHA
    adaefd5 View commit details

Commits on May 18, 2018

  1. Verified

    This commit was signed with the committer’s verified signature.
    hasezoey hasezoey
    Copy the full SHA
    af8c6e4 View commit details

Commits on May 21, 2018

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6847ca0 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    hasezoey hasezoey
    Copy the full SHA
    a053570 View commit details
  3. fix(deps): Update log4js in package.json (#2996)

    Repair for problem found through npm audit, see https://docs.npmjs.com/getting-started/running-a-security-audit.
    john-md86 authored and johnjbarton committed May 21, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    hasezoey hasezoey
    Copy the full SHA
    667b47e View commit details

Commits on May 23, 2018

  1. 3

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8197408 View commit details

Commits on May 24, 2018

  1. Verified

    This commit was signed with the committer’s verified signature.
    hasezoey hasezoey
    Copy the full SHA
    a9c61c2 View commit details
  2. Copy the full SHA
    685f988 View commit details
  3. Prepare BaseReporter for conversion to class (#3017)

    * refactor: prepared BaseReporter for converstion to ES2015 class
    
    * refactor: import BaseReporter directly instead of using mocks
    devoto13 authored and johnjbarton committed May 24, 2018
    Copy the full SHA
    8e54248 View commit details

Commits on May 25, 2018

  1. Copy the full SHA
    c1526a1 View commit details

Commits on May 28, 2018

  1. Copy the full SHA
    65b658a View commit details

Commits on May 29, 2018

  1. Copy the full SHA
    538081c View commit details
  2. Copy the full SHA
    36b550f View commit details

Commits on May 30, 2018

  1. Copy the full SHA
    0ca3a26 View commit details
  2. Copy the full SHA
    f5cda4d View commit details

Commits on Jun 4, 2018

  1. Copy the full SHA
    642b177 View commit details
  2. Copy the full SHA
    bc9acd3 View commit details
  3. fix(flaky-test): Add time to beforeEach() to allow plugins to load on…

    … first pass. (#3025)
    
    Loading plugins in beforeEach seems unwise: the it() blocks potentially run against different environments. In particular the first it() block runs with the timer already worn down by the plugin load and often the timeout hits on my mac air before the test passes.Until we can restructure this code a longer timeout avoids flaky tests.
    johnjbarton authored Jun 4, 2018
    Copy the full SHA
    31d9a08 View commit details

Commits on Jun 7, 2018

  1. Copy the full SHA
    c1a9567 View commit details

Commits on Jun 8, 2018

  1. Copy the full SHA
    011a90c View commit details

Commits on Jun 9, 2018

  1. Copy the full SHA
    e8ca4ec View commit details

Commits on Jun 11, 2018

  1. Copy the full SHA
    558e2f0 View commit details
  2. Copy the full SHA
    d6060d4 View commit details
  3. Copy the full SHA
    f47d901 View commit details
  4. Copy the full SHA
    5272aa3 View commit details

Commits on Jun 14, 2018

  1. Copy the full SHA
    0dc8ea4 View commit details
  2. fix(config): Log the final config just before use. (#3041)

    Many problems in karma use can be resolved by reading the config, but plugins can mutate the config.
    Here debug logging will give the final result after any mutations.
    johnjbarton authored Jun 14, 2018
    Copy the full SHA
    05dd09a View commit details
Showing with 7,533 additions and 6,923 deletions.
  1. +5 −1 .eslintignore
  2. +5 −1 .eslintrc
  3. +1 −0 .gitignore
  4. +8 −6 .travis.yml
  5. +201 −0 CHANGELOG.md
  6. +1 −1 CONTRIBUTING.md
  7. +1 −1 LICENSE
  8. +3 −0 PULL_REQUEST_TEMPLATE.md
  9. +1 −5 appveyor.yml
  10. +1 −0 client/constants.js
  11. +51 −22 client/karma.js
  12. +3 −2 client/main.js
  13. +4 −4 client/updater.js
  14. +7 −4 common/stringify.js
  15. +2 −1 config.tpl.coffee
  16. +2 −1 config.tpl.js
  17. +2 −2 config.tpl.ls
  18. +2 −1 config.tpl.ts
  19. +18 −8 context/karma.js
  20. +5 −13 docs/about/01-versioning.md
  21. +35 −10 docs/config/01-configuration-file.md
  22. +15 −10 docs/config/02-files.md
  23. +12 −0 docs/dev/03-maintaining.md
  24. +10 −1 docs/dev/04-public-api.md
  25. +11 −0 docs/dev/05-plugins.md
  26. +1 −1 docs/intro/01-installation.md
  27. +22 −1 docs/intro/03-how-it-works.md
  28. +1 −2 docs/intro/04-faq.md
  29. +12 −2 docs/intro/05-troubleshooting.md
  30. +11 −1 docs/plus/02-travis.md
  31. +2 −0 gruntfile.js
  32. +102 −112 lib/browser.js
  33. +35 −41 lib/browser_collection.js
  34. +3 −2 lib/browser_result.js
  35. +12 −7 lib/cli.js
  36. +28 −68 lib/completion.js
  37. +54 −87 lib/config.js
  38. +1 −6 lib/emitter_wrapper.js
  39. +33 −53 lib/events.js
  40. +42 −39 lib/executor.js
  41. +185 −355 lib/file-list.js
  42. +23 −24 lib/file.js
  43. +66 −51 lib/helper.js
  44. +9 −9 lib/index.js
  45. +58 −81 lib/init.js
  46. +2 −2 lib/init/color_schemes.js
  47. +67 −99 lib/init/formatters.js
  48. +15 −0 lib/init/log-queue.js
  49. +50 −48 lib/init/state_machine.js
  50. +74 −138 lib/launcher.js
  51. +37 −26 lib/launchers/base.js
  52. +10 −11 lib/launchers/capture_timeout.js
  53. +33 −32 lib/launchers/process.js
  54. +11 −14 lib/launchers/retry.js
  55. +12 −12 lib/logger.js
  56. +51 −78 lib/middleware/common.js
  57. +116 −152 lib/middleware/karma.js
  58. +48 −79 lib/middleware/proxy.js
  59. +15 −14 lib/middleware/runner.js
  60. +28 −26 lib/middleware/source_files.js
  61. +2 −2 lib/middleware/stopper.js
  62. +4 −11 lib/middleware/strip_host.js
  63. +29 −30 lib/plugin.js
  64. +44 −53 lib/preprocessor.js
  65. +64 −87 lib/reporter.js
  66. +55 −52 lib/reporters/base.js
  67. +1 −1 lib/reporters/base_color.js
  68. +3 −3 lib/reporters/dots.js
  69. +3 −3 lib/reporters/dots_color.js
  70. +12 −11 lib/reporters/multi.js
  71. +3 −3 lib/reporters/progress.js
  72. +3 −3 lib/reporters/progress_color.js
  73. +25 −24 lib/runner.js
  74. +345 −397 lib/server.js
  75. +13 −17 lib/stopper.js
  76. +13 −12 lib/temp_dir.js
  77. +13 −12 lib/url.js
  78. +27 −0 lib/utils/bundle-utils.js
  79. +14 −0 lib/utils/crypto-utils.js
  80. +25 −0 lib/utils/file-utils.js
  81. +10 −0 lib/utils/json-utils.js
  82. +28 −0 lib/utils/net-utils.js
  83. +16 −0 lib/utils/path-utils.js
  84. +14 −0 lib/utils/pattern-utils.js
  85. +57 −90 lib/watcher.js
  86. +79 −61 lib/web-server.js
  87. +121 −99 package.json
  88. +6 −1 static/context.html
  89. +6 −1 static/debug.html
  90. +2 −2 tasks/init-dev-env.js
  91. +8 −8 tasks/test.js
  92. +0 −2 test/client/karma.conf.js
  93. +96 −53 test/client/karma.spec.js
  94. +3 −3 test/client/mocks.js
  95. +24 −19 test/client/stringify.spec.js
  96. +1 −1 test/client/util.spec.js
  97. +4 −4 test/e2e/basic.feature
  98. +53 −17 test/e2e/browser_console.feature
  99. +3 −3 test/e2e/custom-context.feature
  100. +6 −6 test/e2e/displayname.feature
  101. +19 −3 test/e2e/error.feature
  102. +21 −21 test/e2e/files.feature
  103. +3 −3 test/e2e/headers.feature
  104. +8 −8 test/e2e/load.feature
  105. +6 −6 test/e2e/middleware.feature
  106. +7 −7 test/e2e/mocharepoter.feature
  107. +35 −0 test/e2e/module-types.feature
  108. +2 −2 test/e2e/pass-opts.feature
  109. +9 −9 test/e2e/proxy.feature
  110. +8 −3 test/e2e/reconnecting.feature
  111. +4 −4 test/e2e/runInParent.feature
  112. +66 −60 test/e2e/step_definitions/core_steps.js
  113. +2 −2 test/e2e/step_definitions/hooks.js
  114. +7 −7 test/e2e/stop.feature
  115. +1 −1 test/e2e/support/env.js
  116. +1 −1 test/e2e/support/headers/test.js
  117. +1 −1 test/e2e/support/middleware/test.js
  118. +11 −0 test/e2e/support/modules/__tests__/minus.test.mjs
  119. +11 −0 test/e2e/support/modules/__tests__/plus.test.js
  120. +4 −0 test/e2e/support/modules/minus.mjs
  121. +4 −0 test/e2e/support/modules/plus.js
  122. +6 −6 test/e2e/support/proxy.js
  123. +1 −1 test/e2e/support/proxy/test.js
  124. +3 −2 test/e2e/support/reconnecting/test.js
  125. +4 −4 test/e2e/support/tag/tag.js
  126. +14 −11 test/e2e/support/world.js
  127. +0 −3 test/e2e/tag.feature
  128. +3 −3 test/e2e/upstream-proxy.feature
  129. +95 −51 test/unit/browser.spec.js
  130. +97 −33 test/unit/browser_collection.spec.js
  131. +2 −2 test/unit/browser_result.spec.js
  132. +6 −6 test/unit/cli.spec.js
  133. +45 −45 test/unit/config.spec.js
  134. +39 −25 test/unit/events.spec.js
  135. +12 −10 test/unit/executor.spec.js
  136. +106 −87 test/unit/file-list.spec.js
  137. +67 −29 test/unit/helper.spec.js
  138. +4 −2 test/unit/index.spec.js
  139. +39 −39 test/unit/init.spec.js
  140. +13 −13 test/unit/init/formatters.spec.js
  141. +30 −30 test/unit/init/state_machine.spec.js
  142. +38 −34 test/unit/launcher.spec.js
  143. +33 −33 test/unit/launchers/base.spec.js
  144. +6 −6 test/unit/launchers/capture_timeout.spec.js
  145. +61 −40 test/unit/launchers/process.spec.js
  146. +11 −11 test/unit/launchers/retry.spec.js
  147. +6 −6 test/unit/logger.spec.js
  148. +91 −40 test/unit/middleware/karma.spec.js
  149. +49 −50 test/unit/middleware/proxy.spec.js
  150. +266 −256 test/unit/middleware/runner.spec.js
  151. +56 −20 test/unit/middleware/source_files.spec.js
  152. +16 −49 test/unit/middleware/strip_host.spec.js
  153. +10 −10 test/unit/mocha-globals.js
  154. +2 −2 test/unit/mocks/timer.js
  155. +99 −74 test/unit/preprocessor.spec.js
  156. +71 −71 test/unit/reporter.spec.js
  157. +57 −55 test/unit/reporters/base.spec.js
  158. +4 −4 test/unit/reporters/progress.spec.js
  159. +14 −14 test/unit/runner.spec.js
  160. +157 −76 test/unit/server.spec.js
  161. +42 −0 test/unit/utils/bundle-utils.spec.js
  162. +9 −0 test/unit/utils/crypto-utils.spec.js
  163. +18 −0 test/unit/utils/json-utils.spec.js
  164. +37 −0 test/unit/utils/net-utils.spec.js
  165. +9 −0 test/unit/utils/path-utils.spec.js
  166. +33 −0 test/unit/utils/pattern-utils.spec.js
  167. +15 −46 test/unit/watcher.spec.js
  168. +46 −34 test/unit/web-server.spec.js
  169. +0 −7 wallaby.js
  170. +2,551 −2,587 yarn.lock
6 changes: 5 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
test/e2e/support/error/under-test.js
test/e2e/support/error/under-test.js
test/unit/fixtures/bundled.js
static/karma.js
static/context.js
tmp/*
6 changes: 5 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"extends": "standard"
"extends": "standard",
"rules": {
"arrow-parens": [2, "always"],
"space-before-function-paren": ["error", "always"]
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -15,4 +15,5 @@ test/e2e/coverageRequirejs/coverage
test/e2e/coffee-coverage/coverage
test-results.xml
test/unit/test.log
test/unit/fixtures/bundled.js
.DS_Store
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
sudo: false
language: node_js
node_js:
- 4
- 6
- 8
- 9
- 10

env:
global:
@@ -14,13 +12,13 @@ env:
matrix:
fast_finish: true
include:
- node_js: "8"
- name: "Lint code and commit message format"
node_js: "8"
env: VALIDATE_COMMIT_MSG=true LINT=true

before_install:
- npm config set loglevel warn
- g++-4.8 --version
- if [[ "`node --version`" = v4* ]]; then npm install -g npm@latest-3; fi

addons:
firefox:
@@ -36,7 +34,11 @@ before_script:
- sh -e /etc/init.d/xvfb start
- npm run init
- export $(openssl aes-256-cbc -pass env:CREDENTIALS_PASS -d -in credentials)
- 'if [ "$VALIDATE_COMMIT_MSG" == "true" ]; then ./scripts/validate-commit-msg.sh $TRAVIS_COMMIT; fi'
- echo "TRAVIS_COMMIT $TRAVIS_COMMIT"
- echo "TRAVIS_PULL_REQUEST_SHA $TRAVIS_PULL_REQUEST_SHA"
- COMMIT_TO_VALIDATE=${TRAVIS_PULL_REQUEST_SHA:-$TRAVIS_COMMIT}
- echo "COMMIT_TO_VALIDATE $COMMIT_TO_VALIDATE"
- 'if [ "$VALIDATE_COMMIT_MSG" == "true" ]; then ./scripts/validate-commit-msg.sh $COMMIT_TO_VALIDATE; fi'
- 'if [ "$LINT" == "true" ]; then npm run lint; fi'

script:
201 changes: 201 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,204 @@
<a name="4.2.0"></a>
# [4.2.0](https://github.com/karma-runner/karma/compare/v4.1.0...v4.2.0) (2019-07-12)


### Bug Fixes

* **logging:** Util inspect for logging the config. ([#3332](https://github.com/karma-runner/karma/issues/3332)) ([70b72a9](https://github.com/karma-runner/karma/commit/70b72a9))
* **reporter:** format stack with 1-based column ([#3325](https://github.com/karma-runner/karma/issues/3325)) ([182c04d](https://github.com/karma-runner/karma/commit/182c04d)), closes [#3324](https://github.com/karma-runner/karma/issues/3324)
* **server:** Add error handler for webserver socket. ([#3300](https://github.com/karma-runner/karma/issues/3300)) ([fe9a1dd](https://github.com/karma-runner/karma/commit/fe9a1dd))



<a name="4.1.0"></a>
# [4.1.0](https://github.com/karma-runner/karma/compare/v4.0.1...v4.1.0) (2019-04-15)


### Bug Fixes

* **client:** Enable loading different file types when running in parent mode without iframe ([#3289](https://github.com/karma-runner/karma/issues/3289)) ([7968db6](https://github.com/karma-runner/karma/commit/7968db6))
* **client:** Only create the funky object if message is not a string ([#3298](https://github.com/karma-runner/karma/issues/3298)) ([ce6825f](https://github.com/karma-runner/karma/commit/ce6825f)), closes [#3296](https://github.com/karma-runner/karma/issues/3296)
* **launcher:** Log state transitions in debug ([#3294](https://github.com/karma-runner/karma/issues/3294)) ([6556ab4](https://github.com/karma-runner/karma/commit/6556ab4)), closes [#3290](https://github.com/karma-runner/karma/issues/3290)
* **middleware:** log invalid filetype ([#3292](https://github.com/karma-runner/karma/issues/3292)) ([7eb48c5](https://github.com/karma-runner/karma/commit/7eb48c5)), closes [#3291](https://github.com/karma-runner/karma/issues/3291)



<a name="4.0.1"></a>
## [4.0.1](https://github.com/karma-runner/karma/compare/v4.0.0...v4.0.1) (2019-02-28)


### Bug Fixes

* **browser:** allow updating total specs count ([#3264](https://github.com/karma-runner/karma/issues/3264)) ([d5df723](https://github.com/karma-runner/karma/commit/d5df723))
* remove vulnerable dependency combine-lists ([#3273](https://github.com/karma-runner/karma/issues/3273)) ([c43f584](https://github.com/karma-runner/karma/commit/c43f584)), closes [#3265](https://github.com/karma-runner/karma/issues/3265)
* remove vulnerable dependency expand-braces ([#3270](https://github.com/karma-runner/karma/issues/3270)) ([4ec4f6f](https://github.com/karma-runner/karma/commit/4ec4f6f)), closes [#3268](https://github.com/karma-runner/karma/issues/3268) [#3269](https://github.com/karma-runner/karma/issues/3269)
* **filelist:** correct logger name. ([#3262](https://github.com/karma-runner/karma/issues/3262)) ([375bb5e](https://github.com/karma-runner/karma/commit/375bb5e))
* **launcher:** Debug Child Processes exit signal ([#3259](https://github.com/karma-runner/karma/issues/3259)) ([c277a6b](https://github.com/karma-runner/karma/commit/c277a6b))



<a name="4.0.0"></a>
# [4.0.0](https://github.com/karma-runner/karma/compare/v3.1.4...v4.0.0) (2019-01-23)


### Bug Fixes

* **client:** fix issue with loaded on safari 10 ([#3252](https://github.com/karma-runner/karma/issues/3252)) ([571191c](https://github.com/karma-runner/karma/commit/571191c)), closes [#3198](https://github.com/karma-runner/karma/issues/3198)
* **config:** add test:unit npm script ([#3242](https://github.com/karma-runner/karma/issues/3242)) ([02f071d](https://github.com/karma-runner/karma/commit/02f071d))


### Chores

* remove support for node 6 ([#3246](https://github.com/karma-runner/karma/issues/3246)) ([8a83990](https://github.com/karma-runner/karma/commit/8a83990)), closes [#3151](https://github.com/karma-runner/karma/issues/3151)


### BREAKING CHANGES

* Drop Support for Node 6, to make it possible to use async/await in karma codebase.



<a name="3.1.4"></a>
## [3.1.4](https://github.com/karma-runner/karma/compare/v3.1.3...v3.1.4) (2018-12-17)


### Bug Fixes

* **file-list:** revert "do not preprocess up-to-date files" ([#3226](https://github.com/karma-runner/karma/issues/3226)) ([#3230](https://github.com/karma-runner/karma/issues/3230)) ([bb022a7](https://github.com/karma-runner/karma/commit/bb022a7))
* improve error msg when bin is a directory ([#3231](https://github.com/karma-runner/karma/issues/3231)) ([584dddc](https://github.com/karma-runner/karma/commit/584dddc))
* restarted browsers not running tests ([#3233](https://github.com/karma-runner/karma/issues/3233)) ([cc2eff2](https://github.com/karma-runner/karma/commit/cc2eff2))



<a name="3.1.3"></a>
## [3.1.3](https://github.com/karma-runner/karma/compare/v3.1.2...v3.1.3) (2018-12-01)


### Bug Fixes

* add missing dep flatted ([#3223](https://github.com/karma-runner/karma/issues/3223)) ([655d4d2](https://github.com/karma-runner/karma/commit/655d4d2))



<a name="3.1.2"></a>
## [3.1.2](https://github.com/karma-runner/karma/compare/v3.1.1...v3.1.2) (2018-12-01)


### Bug Fixes

* **browser:** report errors to console during singleRun=false ([#3209](https://github.com/karma-runner/karma/issues/3209)) ([30ff73b](https://github.com/karma-runner/karma/commit/30ff73b)), closes [#3131](https://github.com/karma-runner/karma/issues/3131)
* **changelog:** remove release which does not exist ([#3214](https://github.com/karma-runner/karma/issues/3214)) ([4e87902](https://github.com/karma-runner/karma/commit/4e87902))
* **dep:** Bump useragent to fix HeadlessChrome version ([#3201](https://github.com/karma-runner/karma/issues/3201)) ([240209f](https://github.com/karma-runner/karma/commit/240209f)), closes [#2762](https://github.com/karma-runner/karma/issues/2762)
* **deps:** upgrade sinon-chai 2.x -> 3.x ([#3207](https://github.com/karma-runner/karma/issues/3207)) ([dc5f5de](https://github.com/karma-runner/karma/commit/dc5f5de))
* **file-list:** do not preprocess up-to-date files ([#3196](https://github.com/karma-runner/karma/issues/3196)) ([5334d1a](https://github.com/karma-runner/karma/commit/5334d1a)), closes [#2829](https://github.com/karma-runner/karma/issues/2829)
* **package:** bump lodash version ([#3203](https://github.com/karma-runner/karma/issues/3203)) ([d38f344](https://github.com/karma-runner/karma/commit/d38f344)), closes [#3177](https://github.com/karma-runner/karma/issues/3177)
* **server:** use flatted for json.stringify ([#3220](https://github.com/karma-runner/karma/issues/3220)) ([fb05fb1](https://github.com/karma-runner/karma/commit/fb05fb1)), closes [#3215](https://github.com/karma-runner/karma/issues/3215)


### Features

* **docs:** callout the key debug strategies. ([#3219](https://github.com/karma-runner/karma/issues/3219)) ([2682bff](https://github.com/karma-runner/karma/commit/2682bff))



<a name="3.1.1"></a>
## [3.1.1](https://github.com/karma-runner/karma/compare/v3.1.0...v3.1.1) (2018-10-23)


### Bug Fixes

* **config:** move puppeteer from dependency to dev-dependency ([#3193](https://github.com/karma-runner/karma/issues/3193)) ([f0d52ad](https://github.com/karma-runner/karma/commit/f0d52ad)), closes [#3191](https://github.com/karma-runner/karma/issues/3191)



<a name="3.1.0"></a>
# [3.1.0](https://github.com/karma-runner/karma/compare/v3.0.0...v3.1.0) (2018-10-22)


### Bug Fixes

* work around broken console methods ([873e4f9](https://github.com/karma-runner/karma/commit/873e4f9)), closes [/github.com/angular/angular.js/pull/16644#issuecomment-407680658](https://github.com//github.com/angular/angular.js/pull/16644/issues/issuecomment-407680658)
* **browser:** emit 'browsers_change' in collection ([#3183](https://github.com/karma-runner/karma/issues/3183)) ([7634e71](https://github.com/karma-runner/karma/commit/7634e71))
* **config:** remove phantomjs in favor of chrome headless ([#3175](https://github.com/karma-runner/karma/issues/3175)) ([0f8b2b1](https://github.com/karma-runner/karma/commit/0f8b2b1))
* **init:** Support ChromeHeadless in `validateBrowser` ([#3110](https://github.com/karma-runner/karma/issues/3110)) ([eeadcf2](https://github.com/karma-runner/karma/commit/eeadcf2))
* **middleware:** simplify stripHost. ([#3115](https://github.com/karma-runner/karma/issues/3115)) ([d65e911](https://github.com/karma-runner/karma/commit/d65e911))
* **runner:** Do not persist grep option across runs ([#3121](https://github.com/karma-runner/karma/issues/3121)) ([c91cb81](https://github.com/karma-runner/karma/commit/c91cb81))
* **runner:** Make exit code configurable when tests are failing ([#3116](https://github.com/karma-runner/karma/issues/3116)) ([74da748](https://github.com/karma-runner/karma/commit/74da748)), closes [#1300](https://github.com/karma-runner/karma/issues/1300)
* **test/client:** revert const/let changes. ([c097ecf](https://github.com/karma-runner/karma/commit/c097ecf))


### Features

* **config:** Add config option for browser socket timeout ([#3102](https://github.com/karma-runner/karma/issues/3102)) ([11e3a9d](https://github.com/karma-runner/karma/commit/11e3a9d)), closes [#2927](https://github.com/karma-runner/karma/issues/2927)
* **config:** add support for ES modules ([e811adb](https://github.com/karma-runner/karma/commit/e811adb))
* **frameworks:** report start() errors back to server. ([#3126](https://github.com/karma-runner/karma/issues/3126)) ([8257375](https://github.com/karma-runner/karma/commit/8257375))
* **server:** .dom files include HTML tags in page. ([#3178](https://github.com/karma-runner/karma/issues/3178)) ([4651524](https://github.com/karma-runner/karma/commit/4651524))
* **server:** Add public API to force a file refresh ([dab8a82](https://github.com/karma-runner/karma/commit/dab8a82))
* **server:** Add stop method ([#3153](https://github.com/karma-runner/karma/issues/3153)) ([6d96d8e](https://github.com/karma-runner/karma/commit/6d96d8e)), closes [#3149](https://github.com/karma-runner/karma/issues/3149)
* **server:** Add support for encoded source files ([#3123](https://github.com/karma-runner/karma/issues/3123)) ([68b37d3](https://github.com/karma-runner/karma/commit/68b37d3))



<a name="3.0.0"></a>
# [3.0.0](https://github.com/karma-runner/karma/compare/v2.0.5...v3.0.0) (2018-08-09)


### Bug Fixes

* **config:** wait 20s for browser activity. ([#3087](https://github.com/karma-runner/karma/issues/3087)) ([88b977f](https://github.com/karma-runner/karma/commit/88b977f))
* **config:** Wait 30s for browser activity per Travis. ([#3091](https://github.com/karma-runner/karma/issues/3091)) ([f6d2f0e](https://github.com/karma-runner/karma/commit/f6d2f0e))
* **init:** add "ChromeHeadless" to the browsers' options ([#3096](https://github.com/karma-runner/karma/issues/3096)) ([56fda53](https://github.com/karma-runner/karma/commit/56fda53))
* **server:** Exit clean on unhandledRejections. ([#3092](https://github.com/karma-runner/karma/issues/3092)) ([02f54c6](https://github.com/karma-runner/karma/commit/02f54c6)), closes [#3064](https://github.com/karma-runner/karma/issues/3064)
* **travis:** Up the socket timeout 2->20s. ([#3103](https://github.com/karma-runner/karma/issues/3103)) ([732396a](https://github.com/karma-runner/karma/commit/732396a)), closes [#3102](https://github.com/karma-runner/karma/issues/3102)
* **travis:** use the value not the key name. ([#3097](https://github.com/karma-runner/karma/issues/3097)) ([90f5546](https://github.com/karma-runner/karma/commit/90f5546))
* **travis:** validate TRAVIS_COMMIT if TRAVIS_PULL_REQUEST_SHA is not set. ([#3094](https://github.com/karma-runner/karma/issues/3094)) ([fba5d36](https://github.com/karma-runner/karma/commit/fba5d36))
* **travis:** Validate TRAVIS_PULL_REQUEST_SHA rather than TRAVIS_COMMIT. ([#3093](https://github.com/karma-runner/karma/issues/3093)) ([a58fa45](https://github.com/karma-runner/karma/commit/a58fa45))

### BREAKING CHANGES

* Drop Support for Nodejs4 ([#3082](https://github.com/karma-runner/karma/pull/3082))



<a name="2.0.5"></a>
## [2.0.5](https://github.com/karma-runner/karma/compare/v2.0.4...v2.0.5) (2018-07-24)


### Bug Fixes

* remove circular reference in Browser ([518cb11](https://github.com/karma-runner/karma/commit/518cb11)), closes [#3075](https://github.com/karma-runner/karma/issues/3075)
* **browser:** ensure browser state is EXECUTING when tests start ([#3074](https://github.com/karma-runner/karma/issues/3074)) ([dc7265b](https://github.com/karma-runner/karma/commit/dc7265b)), closes [#1640](https://github.com/karma-runner/karma/issues/1640)
* **doc:** Document release steps for admins ([#3063](https://github.com/karma-runner/karma/issues/3063)) ([a701732](https://github.com/karma-runner/karma/commit/a701732))
* **middleware:** Obey the Promise API. ([93ba05a](https://github.com/karma-runner/karma/commit/93ba05a))
* **server:** pass bound port to prevent`EADDRINUSE` issue. ([#3065](https://github.com/karma-runner/karma/issues/3065)) ([850a90b](https://github.com/karma-runner/karma/commit/850a90b))


### Features

* **preprocessor:** Allow preprocessor to handle binary files ([#3054](https://github.com/karma-runner/karma/issues/3054)) ([7b66e18](https://github.com/karma-runner/karma/commit/7b66e18))



<a name="2.0.4"></a>
## [2.0.4](https://github.com/karma-runner/karma/compare/v2.0.3...v2.0.4) (2018-06-21)


### Bug Fixes

* **deps:** remove babel-core and babel call in wallaby. ([#3044](https://github.com/karma-runner/karma/issues/3044)) ([7da8ca0](https://github.com/karma-runner/karma/commit/7da8ca0))
* **events:** bind emitters with for..in. ([#3059](https://github.com/karma-runner/karma/issues/3059)) ([b99f03f](https://github.com/karma-runner/karma/commit/b99f03f)), closes [#3057](https://github.com/karma-runner/karma/issues/3057)
* **launcher:** Only markCaptured browsers that are launched. ([#3047](https://github.com/karma-runner/karma/issues/3047)) ([f8f3ebc](https://github.com/karma-runner/karma/commit/f8f3ebc))
* **server:** actually call stert(). ([#3062](https://github.com/karma-runner/karma/issues/3062)) ([40d836a](https://github.com/karma-runner/karma/commit/40d836a))
* **server:** Resurrect static function Server.start() lost in 2.0.3 ([#3055](https://github.com/karma-runner/karma/issues/3055)) ([c88ebc6](https://github.com/karma-runner/karma/commit/c88ebc6))



<a name="2.0.3"></a>
## [2.0.3](https://github.com/karma-runner/karma/compare/v2.0.2...v2.0.3) (2018-06-15)


The 2.03. change log was incorrectly created due to an extra pending tag in the repo.

<a name="2.0.2"></a>
## [2.0.2](https://github.com/karma-runner/karma/compare/v2.0.1...v2.0.2) (2018-04-19)

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ with a fix.
**Working on your first Pull Request?** You can learn how from this *free* series
[How to Contribute to an Open Source Project on GitHub][egghead_series]

[docs_contributing]: http://karma-runner.github.io/0.13/dev/contributing.html
[docs_contributing]: http://karma-runner.github.io/latest/dev/contributing.html
[gitter]: https://gitter.im/karma-runner/karma
[stackoverflow]: http://stackoverflow.com/questions/tagged/karma-runner
[github_newissue]: https://github.com/karma-runner/karma/issues/new
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (C) 2011-2016 Google, Inc.
Copyright (C) 2011-2019 Google, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
3 changes: 3 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Check that your description matches the automatic change-log format:
http://karma-runner.github.io/latest/dev/git-commit-msg.html
then delete this reminder.
6 changes: 1 addition & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -2,9 +2,8 @@ version: "{build}"

environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"

matrix:
fast_finish: true
@@ -13,9 +12,6 @@ install:
# Install Node.js
- ps: Install-Product node $env:nodejs_version

# Upgrade npm
- npm install -g npm

# Output our current versions for debugging
- node --version
- npm --version
1 change: 1 addition & 0 deletions client/constants.js
Original file line number Diff line number Diff line change
@@ -2,5 +2,6 @@ module.exports = {
VERSION: '%KARMA_VERSION%',
KARMA_URL_ROOT: '%KARMA_URL_ROOT%',
KARMA_PROXY_PATH: '%KARMA_PROXY_PATH%',
BROWSER_SOCKET_TIMEOUT: '%BROWSER_SOCKET_TIMEOUT%',
CONTEXT_URL: 'context.html'
}
Loading