-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Comparing changes
Open a pull request
base repository: karma-runner/karma
base: ead31cd99238da86ab8b2d8ff5aff465959f4106
head repository: karma-runner/karma
compare: 3653caf54502a524350359f193cef74eb21a6a85
Commits on Oct 5, 2020
-
docs: clarify
browser_complete
vsrun_complete
Jonathan Ginsburg authoredOct 5, 2020 Configuration menu - View commit details
-
Copy full SHA for e5086fc - Browse repository at this point
Copy the full SHA e5086fcView commit details
Commits on Oct 6, 2020
-
fix(context): do not error when karma is navigating (#3565)
Change the flag name to karmaNavigating and set it along all paths where karma deliberately navigates. Other paths must be wrong. Fixes #3560
Configuration menu - View commit details
-
Copy full SHA for 05dc288 - Browse repository at this point
Copy the full SHA 05dc288View commit details
Commits on Dec 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f819fa8 - Browse repository at this point
Copy the full SHA f819fa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fed0bc - Browse repository at this point
Copy the full SHA 3fed0bcView commit details
Commits on Dec 15, 2020
-
fix(deps): bump socket-io to v3 (#3586)
* fix socket-io deprecated default export BREAKING CHANGE: Some projects have socket.io tests that are version sensitive. Fixes #3569
Configuration menu - View commit details
-
Copy full SHA for 1b9e1de - Browse repository at this point
Copy the full SHA 1b9e1deView commit details
Commits on Dec 17, 2020
-
feat: remove support for running dart code in the browser (#3592)
As Dartium browser is no more, there are no browsers left, which support running Dart applications natively and therefore we can remove such support from Karma to reduce the maintenance effort. BREAKING CHANGE: Using Karma to run Dart code in the browser is no longer supported. Use your favorite Dart-to-JS compiler instead. `dart` file type has been removed without a replacement. `customFileHandlers` DI token has been removed. Use [`middleware`](http://karma-runner.github.io/5.2/config/configuration-file.html#middleware) to achieve similar functionality. `customScriptTypes` DI token has been removed. It had no effect, so no replacement is provided.
Configuration menu - View commit details
-
Copy full SHA for 7a3bd55 - Browse repository at this point
Copy the full SHA 7a3bd55View commit details -
feat(cli): error out on unexpected options or parameters (#3589)
This should make CLI more helpful as it will error out early and users can see that they have passed a wrong option instead of guessing why it does not have any effect. Notes: - units tests use same parser configuration as production code (hence changes to tests) - logic and test case for _ typos in option names was removed as this is covered by yargs strict mode now - added documentation for couple of existing options as otherwise they are considered unknown and error out (but they do exist and were found in the unit tests) BREAKING CHANGE: Karma is more strict and will error out if unknown option or argument is passed to CLI.
Configuration menu - View commit details
-
Copy full SHA for 603bbc0 - Browse repository at this point
Copy the full SHA 603bbc0View commit details -
fix(client): do not reset karmaNavigating in unload handler (#3591)
The unload handler itself does not know about navigation. May fix #3482
Configuration menu - View commit details
-
Copy full SHA for 4a8178f - Browse repository at this point
Copy the full SHA 4a8178fView commit details
Commits on Dec 18, 2020
-
feat(server): print stack of unhandledrejections (#3593)
* feat(server): print stack of unhandledrejections The v8 engine includes the error with the stack and most of the time we need the stack also. Co-authored-by: Jonathan Ginsburg <jginsburgn@google.com>
Configuration menu - View commit details
-
Copy full SHA for 35a5842 - Browse repository at this point
Copy the full SHA 35a5842View commit details
Commits on Dec 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fb76ed6 - Browse repository at this point
Copy the full SHA fb76ed6View commit details -
feat(server): remove deprecated static methods (#3595)
BREAKING CHANGE: Deprecated `require('karma').server.start()` and `require('karma').Server.start()` variants were removed from the public API. Instead use canonical form: ``` const { Server } = require('karma'); const server = new Server(); server.start(); ```
Configuration menu - View commit details
-
Copy full SHA for 1a65bf1 - Browse repository at this point
Copy the full SHA 1a65bf1View commit details
Commits on Dec 23, 2020
-
chore(build): unify client bundling scripts (#3600)
Remove bundling logic from Grunt and introduce watch mode into the scripts/client.js. New script (`npm run build:watch`) allows to watch for the changes in client sources and bundle them automatically. This also fixes a bug where `npm run build` could swallow errors and silently do nothing. Fixes #3599
Configuration menu - View commit details
-
Copy full SHA for fe0e24a - Browse repository at this point
Copy the full SHA fe0e24aView commit details -
fix(test): clear up clearContext (#3597)
emit the 'complete' event after the navigation event, if any. The 'complete' event on the client triggers the server to begin shutdown. The shutdown can race with the navigate context. Simplify return_url implementation, assuming that we don't need any additional execution in the client after we send 'complete'.
Configuration menu - View commit details
-
Copy full SHA for 8997b74 - Browse repository at this point
Copy the full SHA 8997b74View commit details -
chore(build): remove obsolete Grunt tasks (#3602)
These tasks are now handled by the semantic-release or other scripts and therefore we can clean them up.
Configuration menu - View commit details
-
Copy full SHA for 3c649fa - Browse repository at this point
Copy the full SHA 3c649faView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6b045f - Browse repository at this point
Copy the full SHA e6b045fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87f7e5e - Browse repository at this point
Copy the full SHA 87f7e5eView commit details -
fix(test): mark all second connections reconnects (#3598)
The reconnecting test is flakey, sometimes running the tests twice. This is exactly the behavior we are trying to prevent. Hard to reproduce. Refactoring: * rename newBrowser to knownBrowser as appropriate. * move browser STATE constant set/check into browser module. Browser should be the only place the state is set. * pass singleRun and clientConfig into Browser * pass isSocketReconnect into browser.reconnect() * rename browser.onDisconnect to browser.onSocketDisconnect to distinguish the socket from the reload cases.
Configuration menu - View commit details
-
Copy full SHA for 1c9c2de - Browse repository at this point
Copy the full SHA 1c9c2deView commit details
Commits on Jan 6, 2021
-
fix(server): clean up close-server logic (#3607)
The main change in behavior is the removal of `dieOnError` method. Previously Karma would send SIGINT to its own process and then trigger clean up logic upon receiving this signal. It is a pretty convoluted way to trigger shutdown. This commit extracts clean up logic into the `_close()` method and calls this method directly everywhere. This change solves two issues: - Makes life easier for other tools (like Angular CLI), which use Karma programmatically from another process and killing whole process on Karma error may not be the most convenient behavior. Instead Karma will clean up all its resources and notify caller using the `done` callback. - Allows to remove last Grunt bits in the future PR. When running unit tests without Grunt wrapper the SIGINT is received by the Mocha process, which stops tests execution midway.
Configuration menu - View commit details
-
Copy full SHA for 3fca456 - Browse repository at this point
Copy the full SHA 3fca456View commit details
Commits on Jan 12, 2021
-
fix(middleware): catch errors when loading a module (#3605)
Fix #3572 Co-authored-by: https://github.com/jehon
Configuration menu - View commit details
-
Copy full SHA for fec972f - Browse repository at this point
Copy the full SHA fec972fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68c4a3a - Browse repository at this point
Copy the full SHA 68c4a3aView commit details
Commits on Jan 13, 2021
-
feat(client): update banner with connection, test status, ping times (#…
…3611) The banner is visible in videos so we can have some client side info on the state if it breaks.
Configuration menu - View commit details
-
Copy full SHA for 4bf90f7 - Browse repository at this point
Copy the full SHA 4bf90f7View commit details -
fix(ci): abandon browserstack tests for Safari and IE (#3615)
Run test:client on Chrome for both travis and not travis.
Configuration menu - View commit details
-
Copy full SHA for 04a811d - Browse repository at this point
Copy the full SHA 04a811dView commit details -
chore(release): 6.0.0 [skip ci]
# [6.0.0](v5.2.3...v6.0.0) (2021-01-13) ### Bug Fixes * **ci:** abandon browserstack tests for Safari and IE ([#3615](#3615)) ([04a811d](04a811d)) * **client:** do not reset karmaNavigating in unload handler ([#3591](#3591)) ([4a8178f](4a8178f)), closes [#3482](#3482) * **context:** do not error when karma is navigating ([#3565](#3565)) ([05dc288](05dc288)), closes [#3560](#3560) * **cve:** update ua-parser-js to 0.7.23 to fix CVE-2020-7793 ([#3584](#3584)) ([f819fa8](f819fa8)) * **cve:** update yargs to 16.1.1 to fix cve-2020-7774 in y18n ([#3578](#3578)) ([3fed0bc](3fed0bc)), closes [#3577](#3577) * **deps:** bump socket-io to v3 ([#3586](#3586)) ([1b9e1de](1b9e1de)), closes [#3569](#3569) * **middleware:** catch errors when loading a module ([#3605](#3605)) ([fec972f](fec972f)), closes [#3572](#3572) * **server:** clean up close-server logic ([#3607](#3607)) ([3fca456](3fca456)) * **test:** clear up clearContext ([#3597](#3597)) ([8997b74](8997b74)) * **test:** mark all second connections reconnects ([#3598](#3598)) ([1c9c2de](1c9c2de)) ### Features * **cli:** error out on unexpected options or parameters ([#3589](#3589)) ([603bbc0](603bbc0)) * **client:** update banner with connection, test status, ping times ([#3611](#3611)) ([4bf90f7](4bf90f7)) * **server:** print stack of unhandledrejections ([#3593](#3593)) ([35a5842](35a5842)) * **server:** remove deprecated static methods ([#3595](#3595)) ([1a65bf1](1a65bf1)) * remove support for running dart code in the browser ([#3592](#3592)) ([7a3bd55](7a3bd55)) ### BREAKING CHANGES * **server:** Deprecated `require('karma').server.start()` and `require('karma').Server.start()` variants were removed from the public API. Instead use canonical form: ``` const { Server } = require('karma'); const server = new Server(); server.start(); ``` * **cli:** Karma is more strict and will error out if unknown option or argument is passed to CLI. * Using Karma to run Dart code in the browser is no longer supported. Use your favorite Dart-to-JS compiler instead. `dart` file type has been removed without a replacement. `customFileHandlers` DI token has been removed. Use [`middleware`](http://karma-runner.github.io/5.2/config/configuration-file.html#middleware) to achieve similar functionality. `customScriptTypes` DI token has been removed. It had no effect, so no replacement is provided. * **deps:** Some projects have socket.io tests that are version sensitive.
Configuration menu - View commit details
-
Copy full SHA for 3653caf - Browse repository at this point
Copy the full SHA 3653cafView commit details
There are no files selected for viewing