Permalink
Branch: master
Commits on Feb 21, 2019
  1. fix(filelist): correct logger name. (#3262)

    johnjbarton committed Feb 21, 2019
    Append the state of the browser if it gets lost.
Commits on Feb 20, 2019
  1. fix: remove vulnerable dependency combine-lists (#3273)

    SteinRobert authored and johnjbarton committed Feb 20, 2019
    Remove `combine-lists` as a dependency. Use `_.union` instead now.
    
    Fixes #3265
Commits on Feb 19, 2019
  1. fix: remove vulnerable dependency expand-braces (#3270)

    SteinRobert authored and johnjbarton committed Feb 19, 2019
    Remove `expand-braces` as a dependency. Use `braces.expand` instead
    now.
    
    Fixes #3268
    Fixes #3269
Commits on Feb 13, 2019
  1. fix(browser): allow updating total specs count (#3264)

    matz3 authored and johnjbarton committed Feb 13, 2019
    * fix(browser): allow updating total specs count
    
    This change allows providing the total specs count after the tests have
    been started.
    The count will be updated in case it has been provided already.
    This can be uselful for some adapters where the total specs count can
    not be determined before starting the first test.
    
    fix onInfo test case, add new test for total update
Commits on Feb 4, 2019
  1. fix(launcher): Debug Child Processes exit signal (#3259)

    webmaster128 authored and johnjbarton committed Feb 4, 2019
    The Child Processes Event: 'exit' has two parameters: code and signal
    (https://nodejs.org/api/child_process.html#child_process_event_exit).
    One of the two will always be non-null. This helps debugging cases where
    code is null.
Commits on Jan 25, 2019
  1. chore: upgrade log4js to v4.0.0 (#3257)

    beeman authored and johnjbarton committed Jan 25, 2019
Commits on Jan 23, 2019
  1. chore: release v4.0.0

    johnjbarton committed Jan 23, 2019
Commits on Jan 22, 2019
  1. refactor(watcher): Make watcher injectable to support 3rd-party watch…

    kyliau authored and johnjbarton committed Jan 22, 2019
    …ers (#3254)
    
    Over the years, there has been several suggestions to make the default
    watcher in Karma (that uses chokidar) dependency injectable so that
    Karma could work well with third-party watchers.
    
    Prior issues:
    1. #1468
    2. #2895
    
    Candidate third-party watchers include:
    1. Watcher for Broccoli
    2. Watcher for Bazel
    3. Watcher for Blaze (used internally at Google)
    
    This commit makes the change to allow other Karma plugins to specify the
    'watcher' value in the di system and Karma would use the supplied
    watcher instead.
Commits on Jan 18, 2019
  1. fix(client): fix issue with loaded on safari 10 (#3252)

    curquhart authored and johnjbarton committed Jan 18, 2019
    Safari 10 supports type=module but ignores nomodule which causes loaded() to execute twice.
    
    Fixes #3198
Commits on Jan 4, 2019
  1. refactor(fileList): refactor with async/await (#3247)

    lusarz committed Jan 4, 2019
Commits on Jan 1, 2019
  1. refactor(server): refactor start method to use async/await (#3245)

    lusarz authored and johnjbarton committed Jan 1, 2019
  2. chore: remove support for node 6 (#3246)

    lusarz authored and johnjbarton committed Jan 1, 2019
    Set node 8 as minimal supported version.
    
    Closes #3151
    BREAKING CHANGE:
    Drop Support for Node 6, to make it possible to use async/await in karma codebase.
  3. refactor(watcher): refactor watchPatterns method

    lusarz committed Dec 30, 2018
Commits on Dec 31, 2018
  1. refactor(fileList): small refactoring (#3243)

    lusarz authored and johnjbarton committed Dec 31, 2018
Commits on Dec 28, 2018
  1. refactor(watcher): move baseDirFromPattern into PatternUtils.getBaseD…

    lusarz authored and johnjbarton committed Dec 28, 2018
    …ir (#3241)
  2. fix(config): add test:unit npm script (#3242)

    lusarz authored and johnjbarton committed Dec 28, 2018
Commits on Dec 17, 2018
  1. chore: release v3.1.4

    johnjbarton committed Dec 17, 2018
  2. fix: restarted browsers not running tests (#3233)

    devversion authored and johnjbarton committed Dec 17, 2018
    * fix: restarted browsers not running tests
    
    Currently whenever a browser disconnects completely (no socket.io connection loss), the launcher is instructed to "restart" the browser. Whenever the restarted browser now tries to "register" again, Karma considers the browser instance to be still executing and doesn't do anything about it (except setting the state to `EXECUTING` again).
    
    This means that the browser is in the state of executing, but
    practically it does nothing just waits. Resulting another disconnect
    (repeat here).
    
    * test: add unit test that covers disconnected restarted browsers
    
    * fixup! test: add unit test that covers disconnected restarted browsers
    
    Address feedback
    
    * fixup! test: add unit test that covers disconnected restarted browsers
    
    Improve comments & log messages
Commits on Dec 8, 2018
  1. fix: improve error msg when bin is a directory (#3231)

    rogeriopvl authored and johnjbarton committed Dec 8, 2018
Commits on Dec 6, 2018
  1. fix(file-list): revert "do not preprocess up-to-date files" (#3226) (#…

    segrey authored and johnjbarton committed Dec 6, 2018
    …3230)
    
    This reverts commit 5334d1a
    karma-webpack preprocessor updates bundle when needed, but karma's fileList consists of a single entry file which is usually unmodified. In this case, fileList.refresh() should always call preprocessor for the single entry file, avoiding preprocessing of unmodified files is done on karma-webpack side.
Commits on Dec 1, 2018
  1. chore: release v3.1.3

    johnjbarton committed Dec 1, 2018
  2. fix: add missing dep flatted (#3223)

    aladdin-add authored and johnjbarton committed Dec 1, 2018
  3. chore: release v3.1.2

    johnjbarton committed Dec 1, 2018
Commits on Nov 28, 2018
  1. fix(server): use flatted for json.stringify (#3220)

    johnjbarton committed Nov 28, 2018
    Remove json3 dep and use, probably was needed for older node code.
    Fixes #3215
Commits on Nov 27, 2018
  1. feat(docs): callout the key debug strategies. (#3219)

    johnjbarton committed Nov 27, 2018
Commits on Nov 17, 2018
  1. fix(changelog): remove release which does not exist (#3214)

    devoto13 authored and johnjbarton committed Nov 17, 2018
Commits on Nov 15, 2018
  1. fix(browser): report errors to console during singleRun=false (#3209)

    johnjbarton committed Nov 15, 2018
    Fixes #3131
Commits on Nov 14, 2018
  1. fix(file-list): do not preprocess up-to-date files (#3196)

    segrey authored and johnjbarton committed Nov 14, 2018
    It improves performance of "karma run" command which refreshes fileList.
    
    Closes #2829
Commits on Nov 13, 2018
  1. fix(deps): upgrade sinon-chai 2.x -> 3.x (#3207)

    johnjbarton committed Nov 13, 2018
Commits on Nov 7, 2018
  1. fix(package): bump lodash version (#3203)

    jniles authored and johnjbarton committed Nov 7, 2018
    Bumps lodash to 4.17.5 avoid medium severity vulnerability
    (https://nvd.nist.gov/vuln/detail/CVE-2018-3721) found in 4.17.4.
    
    Closes #3177.