Coder Social home page Coder Social logo

lucono / karma-test-explorer Goto Github PK

View Code? Open in Web Editor NEW
34.0 4.0 13.0 1.45 MB

Visual Studio Code extension for Karma and Angular testing with the Jasmine or Mocha framework

Home Page: https://marketplace.visualstudio.com/items?itemName=lucono.karma-test-explorer

License: MIT License

Dockerfile 0.14% Shell 0.01% JavaScript 0.41% TypeScript 99.44%
javascript typescript testing karma angular jasmine mocha vscode test-runner vscode-extension karma-jasmine karma-mocha unit-testing

karma-test-explorer's Introduction

DEPRECATION  NOTICE

With the deprecation of Karma runner, Karma Test Explorer is now also deprecated. It will no longer be releasing any new features or bug fixes.

If you continue to use Karma and this extension, you are encouraged to seek support for any new issues by posting in the Discussions area to possibly get help from other users.


Build and Test

Karma Test Explorer (for Angular, Jasmine, and Mocha)

This extension adds a rich and fully integrated testing experience to Visual Studio Code for Angular, TypeScript, and JavaScript projects that use Karma for testing.

Karma Test Explorer screenshot

It shows your Karma tests in a visual explorer in VS Code, adds code lenses and gutter decorations to your test files, and shows test failure details inline within your code at the point of each failure.

Karma Test Explorer screenshot

The side bar shows rich information about your tests, including focused ⚡ and disabled 💤 tests (left image), and details summarizing passed, failed and skipped tests after each test execution (right image).


Please take a minute to rate this extension in the marketplace and star it on GitHub. For issues, questions, or feature requests, see Reporting Issues.


Why this Extension

Karma Test Explorer is a complete rewrite of the deprecated Angular/Karma Test Explorer, and adds various significant enhancements and new features to provide robust support for:

  • Cloud and remote development sceanarios with Dev Containers
  • Good performance with large projects having many thousands of tests
  • Zero-configuration user experience that "just works" for most setups
  • Flexibility to support a wide range of testing scenarios and workflows
  • Reliability, usability, and productivity

Features

  • Rich visual test browsing, execution, and debugging
  • Angular, Karma, Jasmine, and Mocha support
  • Multi-project / monorepo / multi-root workspace support
  • Live test validation of changing product code
  • Auto-detection and fix recommendations for various testing issues
  • Much more

Quick Start

In many cases, testing should work out of the box:

  • Ensure Chrome browser and the project dependencies are installed
  • Install the Karma Test Explorer extension and wait a moment while it initializes
  • When done, your tests should be displayed in the Testing side bar
  • Use the many extension settings to customize it to any other needs of your project
  • If you run into any issues, see extension setup for more detailed setup instructions

Documentation

For a more detailed guide on setting up, customizing, and fully leveraging all the available features to work for your project, please see the Karma Test Explorer Documentation.

Acknowledgement

Special thanks to the authors of the deprecated Angular/Karma Test Explorer on which Karma Test Explorer was originally based.

See Also

Documentation  |  Contributing  |  Changelog  |  Report an issue

karma-test-explorer's People

Contributors

btmorton avatar lucono avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

karma-test-explorer's Issues

Karma server is started with the wrong Node installation

Describe the Bug

Karma server fails after updating to v0.3.0

Steps to Reproduce the Behavior

I'm using Remote SSH extension to connect to the development machine running Windows 10. After starting, VSCode shows error notification:

image

Describe the Expected Behavior

Extension works as before

Provide Debug Logs

  • Karma Test Explorer:
[2021-11-08 14:11:55.118] [INFO] [KarmaTestEventListener]: New socket connection from Karma on port 9999
[2021-11-08 14:11:55.118] [DEBUG] [KarmaTestEventListener]: Listening for Karma events
[2021-11-08 14:11:55.125] [DEBUG] [KarmaTestEventListener]: Received Karma event: file_list_modified
[2021-11-08 14:11:55.125] [DEBUG] [KarmaTestEventListener]: Ignoring received karma event: file_list_modified
[2021-11-08 14:11:55.223] [DEBUG] [KarmaTestEventListener]: Received Karma event: listening
[2021-11-08 14:11:55.223] [DEBUG] [KarmaTestEventListener]: Karma server on karma port 9976 is ready for requests
[2021-11-08 14:12:13.053] [DEBUG] [KarmaTestEventListener]: Received Karma event: compile_error
[2021-11-08 14:12:13.053] [DEBUG] [KarmaTestEventListener]: Received unregistered error event: compile_error
[2021-11-08 14:12:13.053] [DEBUG] [KarmaTestEventListener]: Test error processing requested with message: Error event: compile_error
[2021-11-08 14:12:13.054] [DEBUG] [KarmaTestEventListener]: Received Karma event: run_complete
[2021-11-08 14:12:13.054] [DEBUG] [KarmaTestEventListener]: Test run completed with status 'Complete' for browsers: 
[2021-11-08 14:12:13.054] [DEBUG] [KarmaTestEventListener]: Received 'run_complete' event with run Id 'undefined' while no requested user test capture
[2021-11-08 14:12:19.442] [DEBUG] [KarmaTestEventListener]: Received Karma event: browsers_change
[2021-11-08 14:12:19.442] [DEBUG] [KarmaTestEventListener]: Ignoring received karma event: browsers_change
[2021-11-08 14:12:19.442] [DEBUG] [KarmaTestEventListener]: Received Karma event: browser_register
[2021-11-08 14:12:19.442] [DEBUG] [KarmaTestEventListener]: Ignoring received karma event: browser_register
[2021-11-08 14:12:19.442] [DEBUG] [KarmaTestEventListener]: Received Karma event: browsers_ready
[2021-11-08 14:12:19.442] [DEBUG] [KarmaTestEventListener]: Browsers connected and ready for test execution
[2021-11-08 14:12:19.443] [INFO] [DefaultTestManager]: Discovering tests
[2021-11-08 14:12:19.444] [DEBUG] [KarmaTestEventListener]: Started listening for test run Id: jnv7066awr
[2021-11-08 14:12:19.444] [DEBUG] [KarmaTestRunner]: Executing test discovery run id: jnv7066awr
[2021-11-08 14:12:19.447] [DEBUG] [KarmaHttpTestRunExecutor]: Sending karma run http request
[2021-11-08 14:12:19.450] [DEBUG] [KarmaTestEventListener]: Received Karma event: run_start
[2021-11-08 14:12:19.450] [DEBUG] [KarmaTestEventListener]: Test run started for browsers: Chrome Headless 95.0.4638.69 (Windows 10)
[2021-11-08 14:12:19.451] [DEBUG] [KarmaTestEventListener]: New test run starting with id 'undefined' is not for the current requested test run Id: jnv7066awr
[2021-11-08 14:12:19.451] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Beginning ambient test event processing
[2021-11-08 14:12:19.451] [DEBUG] [KarmaAutoWatchTestEventProcessor:KarmaTestEventProcessor]: Request to begin test event processing
[2021-11-08 14:12:19.451] [DEBUG] [KarmaAutoWatchTestEventProcessor:KarmaTestEventProcessor]: Proceeding to begin processing test events
[2021-11-08 14:12:19.453] [DEBUG] [KarmaHttpTestRunExecutor]: Finished sending http test run request
[2021-11-08 14:12:19.470] [DEBUG] [KarmaTestEventListener]: Received Karma event: file_list_modified
[2021-11-08 14:12:19.470] [DEBUG] [KarmaTestEventListener]: Ignoring received karma event: file_list_modified
[2021-11-08 14:12:19.470] [DEBUG] [KarmaTestEventListener]: Received Karma event: run_start
[2021-11-08 14:12:19.470] [DEBUG] [KarmaTestEventListener]: Test run started for browsers: Chrome Headless 95.0.4638.69 (Windows 10)
[2021-11-08 14:12:19.471] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Aborting current ambient event processing - New test is starting
[2021-11-08 14:12:19.471] [DEBUG] [KarmaAutoWatchTestEventProcessor:KarmaTestEventProcessor]: Request to process test error event with message: New test is starting
[2021-11-08 14:12:19.471] [DEBUG] [KarmaAutoWatchTestEventProcessor:KarmaTestEventProcessor]: Request to conclude test event processing
[2021-11-08 14:12:19.471] [DEBUG] [KarmaTestEventListener]: Test run starting for requested test run Id: jnv7066awr
[2021-11-08 14:12:19.471] [DEBUG] [KarmaTestEventListener]: Starting test capture session for current requested test run Id: jnv7066awr
[2021-11-08 14:12:19.471] [DEBUG] [KarmaTestEventProcessor]: Request to begin test event processing
[2021-11-08 14:12:19.471] [DEBUG] [KarmaTestEventProcessor]: Proceeding to begin processing test events
[2021-11-08 14:12:19.471] [WARN] [KarmaAutoWatchTestEventProcessor]: Aborting current ambient event processing - New test is starting
[2021-11-08 14:12:19.471] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Concluding ambient test event processing
[2021-11-08 14:12:19.471] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Retiring 0 skipped ambient test ids
[2021-11-08 14:12:19.472] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Done concluding ambient test event processing
[2021-11-08 14:12:19.472] [DEBUG] [KarmaTestEventListener]: Received Karma event: run_start
[2021-11-08 14:12:19.472] [DEBUG] [KarmaTestEventListener]: Test run started for browsers: Chrome Headless 95.0.4638.69 (Windows 10)
[2021-11-08 14:12:19.472] [DEBUG] [KarmaTestEventListener]: Test run starting for requested test run Id: jnv7066awr
[2021-11-08 14:12:19.472] [WARN] [KarmaTestEventListener]: New requested test run with run id 'jnv7066awr' is starting while another one with same Id is already in progress - Continuing with existing test
[2021-11-08 14:12:19.504] [DEBUG] [KarmaTestEventListener]: Received Karma event: browser_start
[2021-11-08 14:12:19.504] [DEBUG] [KarmaTestEventListener]: Test run started in browser: Chrome Headless 95.0.4638.69 (Windows 10)
[2021-11-08 14:12:19.506] [DEBUG] [KarmaTestEventListener]: Received Karma event: browsers_change
[2021-11-08 14:12:19.506] [DEBUG] [KarmaTestEventListener]: Ignoring received karma event: browsers_change
[2021-11-08 14:12:19.506] [DEBUG] [KarmaTestEventListener]: Received Karma event: browser_complete
[2021-11-08 14:12:19.506] [DEBUG] [KarmaTestEventListener]: Test run completed in browser: Chrome Headless 95.0.4638.69 (Windows 10)
[2021-11-08 14:12:19.506] [DEBUG] [KarmaTestEventListener]: Received Karma event: browser_complete_with_no_more_retries
[2021-11-08 14:12:19.506] [DEBUG] [KarmaTestEventListener]: Ignoring received karma event: browser_complete_with_no_more_retries
[2021-11-08 14:12:19.508] [DEBUG] [KarmaTestEventListener]: Received Karma event: run_complete
[2021-11-08 14:12:19.508] [DEBUG] [KarmaTestEventListener]: Test run completed with status 'Complete' for browsers: Chrome Headless 95.0.4638.69 (Windows 10)
[2021-11-08 14:12:19.508] [DEBUG] [KarmaTestEventListener]: Test run ending for current requested test run Id: jnv7066awr
[2021-11-08 14:12:19.508] [DEBUG] [KarmaTestEventListener]: Ending test capture session for current requested test run Id: jnv7066awr
[2021-11-08 14:12:19.508] [DEBUG] [KarmaTestEventProcessor]: Request to conclude test event processing
[2021-11-08 14:12:19.508] [DEBUG] [KarmaTestEventProcessor]: Test event processor is currently processing - Concluding current processing
[2021-11-08 14:12:19.510] [DEBUG] [KarmaTestEventListener]: Done listening for test run Id: jnv7066awr
[2021-11-08 14:12:19.510] [DEBUG] [KarmaTestRunner]: Processing specs from test discovery
[2021-11-08 14:12:19.510] [DEBUG] [SpecResponseToTestSuiteInfoMapper]: Mapped 0 tests from specs
[2021-11-08 14:12:19.511] [DEBUG] [TestSuiteOrganizer]: Rearranged 0 test files into folders
[2021-11-08 14:12:19.511] [DEBUG] [TestDiscoveryProcessor]: Test discovery - No tests found
[2021-11-08 14:12:19.511] [INFO] [DefaultTestManager]: Discovered 0 total tests
[2021-11-08 14:12:19.511] [DEBUG] [Adapter]: Test discovery got 0 tests
[2021-11-08 14:12:19.511] [DEBUG] [Adapter]: Updating loaded test tree
[2021-11-08 14:12:19.513] [DEBUG] [Adapter]: Cannot run new test - Another test operation is still running
[2021-11-08 14:12:19.513] [DEBUG] [Notifications]: Showing 'Warning' notification with actions [] and message: Cannot run new test - Another test operation is still running
[2021-11-08 14:12:19.514] [INFO] [Adapter]: Finished loading tests in 51.56 secs (0 tests loaded)
[2021-11-08 14:12:19.514] [DEBUG] [KarmaHttpTestRunExecutor]: Karma http request closed
  • Karma Server:
08 11 2021 07:52:10.532:WARN [karma-server]: Passing raw CLI options to `new Server(config, done)` is deprecated. Use `parseConfig(configFilePath, cliOptions, {promiseConfig: true, throwErrors: true})` to prepare a processed `Config` instance and pass that as the `config` argument instead.

[stderr]: (node:17864) Warning: Accessing non-existent property 'VERSION' of module exports inside circular dependency
(Use `node.EXE --trace-warnings ...` to show where the warning was created)

08 11 2021 07:52:32.953:WARN [karma]: No captured browser, open http://localhost:9976/

08 11 2021 07:52:32.973:INFO [karma-server]: Karma v6.3.5 server started at http://localhost:9976/

08 11 2021 07:52:32.974:INFO [launcher]: Launching browsers KarmaTestExplorer_CustomLauncher with concurrency unlimited

08 11 2021 07:52:32.979:INFO [launcher]: Starting browser Chrome

[stderr]: Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating

[stderr]: 
ERROR in ./projects/REDACTED/src/styles/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./projects/REDACTED/src/styles/styles.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding C:\REDACTED\node_modules\node-sass\vendor\win32-x64-83\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 14.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.

Please Provide the Following Information

  • OS: Windows 10 (Both machines)
  • Environment: SSH session

Additional Context

Project uses node 10.20, I'm not sure how karma server gets node 14.x (might it be problem with PATH variable? 🤔)

Support project without angular-cli

I have a project based on Angular but I don't use an Angular CLI. Is it possible to treat it as Karma project (not Angular) even that I have a angular.json file in root directory?

Tests won't load in 0.7.2

I get the error "Failed to load tests - Karma server quit unexpectedly" in the Karma Test Explorer log, and no tests are loaded, using version 0.7.2

If I downgrade to 0.7.1, the tests load and run correctly.

Can't start an Angular project if Angular CLI can't be found, despite setting angularProcessCommand

Describe the Bug

Because the check for the Angular CLI module path

const angularLocalInstallPath = getPackageInstallPathForProjectRoot(
'@angular/cli',
this.workspaceRootPath,
{ allowGlobalPackageFallback: this.options.allowGlobalPackageFallback },
this.logger
);
happens before the check for options.angularProcessCommand
if (this.options.angularProcessCommand) {
command = this.options.angularProcessCommand;
} else {
command = nodeExecutablePath ?? process.execPath;
processArguments = [angularBinaryPath];
}
if the CLI path can't be found there's no way to provide a manual command to work around this.

This is an issue with projects that use Yarn PNP or any other kind of PNP package manager where get-existing-path can't find the module because it only looks for a node_modules folder, which doesn't exist for these package managers.

Alternatively (better, but more work), you could probably replace your usages of get-existing-path with require.resolve which works fine with these package managers.

Steps to Reproduce the Behavior

  1. Start a new project with Yarn 3 or later
  2. Set karmaTestExplorer.angularProcessCommand to yarn ng
  3. Try to use this extension

Describe the Expected Behavior

  • The extension works normally

Provide Debug Logs

[2022-07-08 02:15:31.889] [ERROR] [DefaultTestManager]: System component terminated with message: Karma server failed to start: Angular CLI does not seem to be installed - You may need to run 'npm install' in your project. Please install it and try again.
[2022-07-08 02:15:31.908] [ERROR] [DefaultTestManager]: Error: Karma server failed to start: Angular CLI does not seem to be installed - You may need to run 'npm install' in your project. Please install it and try again.
[2022-07-08 02:15:31.909] [ERROR] [Adapter]: Failed to load tests - Karma server failed to start: Angular CLI does not seem to be installed - You may need to run 'npm install' in your project. Please install it and try again.
[2022-07-08 02:15:31.913] [INFO] [Adapter]: Finished loading tests in 0.22 secs (Failed)```

**Please Provide the Following Information**
 
 - OS: any
 - Environment: local/wsl
 - Node Version: lts w/ yarn3
 - VSCode Version: any
 - Karma Version:any
 - Frameworks: Angular

Debug hangs up if a breakpoint is set.

Describe the Bug

Debug hangs up if a breakpoint is set.
'Run' executes properly, and 'test' also executes to completion if no breakpoint is set

Steps to Reproduce the Behavior

  1. Create a new angular project with the angular cli
  2. Set a breakpoint on the default test in app.component.spec.ts
  3. Click 'debug'

Describe the Expected Behavior

The test pauses at the breakpoint.

Provide Debug Logs

[2023-03-14 17:15:56.254] [INFO] [KarmaTestExplorer]: Starting debug session
[2023-03-14 17:15:56.254] [DEBUG] [KarmaTestExplorer]: Test debug is requested for 1 test ids
[2023-03-14 17:15:56.254] [DEBUG] [KarmaTestExplorer]: Ensuring Test Manager is started for debug test run
[2023-03-14 17:15:56.254] [DEBUG] [DefaultTestManager]: Request to start test manager ignored - Test manager is already started
[2023-03-14 17:15:56.254] [DEBUG] [KarmaTestExplorer]: Starting debug session configuration 'Karma Test Explorer Debugging' with requested --> available debug port: 9222 --> 9223
[2023-03-14 17:15:56.459] [INFO] [Debugger]: Debug session 'Karma Test Explorer Debugging - hello-world' has started
[2023-03-14 17:15:56.459] [INFO] [KarmaTestExplorer]: Debug test run started
[2023-03-14 17:15:56.459] [DEBUG] [KarmaTestExplorer]: Test run is requested for 1 test ids
[2023-03-14 17:15:56.460] [DEBUG] [DefaultTestManager]: Proceeding to run tests
[2023-03-14 17:15:56.460] [DEBUG] [KarmaTestRunner]: Requested test run for 1 test Id(s): ["spec0"]
[2023-03-14 17:15:56.460] [DEBUG] [KarmaTestRunner]: Resolved 1 tests to run
[2023-03-14 17:15:56.460] [DEBUG] [KarmaTestRunProcessor]: Processing test execution for test run with id: 4s7nc7qwnhi
[2023-03-14 17:15:56.460] [DEBUG] [KarmaTestRunProcessor]: Started test event handling for test run Id: 4s7nc7qwnhi
[2023-03-14 17:15:56.460] [DEBUG] [KarmaTestRunner]: Executing test execution run id: 4s7nc7qwnhi
[2023-03-14 17:15:56.461] [DEBUG] [KarmaHttpTestRunExecutor]: Sending karma run http request with data: {"args":["--grep=/(^AppComponent should create the app$)/","--testRunId=4s7nc7qwnhi"],"refresh":true}
[2023-03-14 17:15:56.462] [DEBUG] [KarmaHttpTestRunExecutor]: Finished sending http test run request
[2023-03-14 17:15:56.468] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: file_list_modified
[2023-03-14 17:15:56.468] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome Headless 111.0.5563.64 (Mac OS 10.15.7)
[2023-03-14 17:15:56.468] [DEBUG] [KarmaTestRunProcessor]: Test run starting for requested test run Id: 4s7nc7qwnhi
[2023-03-14 17:15:56.468] [DEBUG] [KarmaTestRunProcessor]: Starting test capture session for current requested test run Id: 4s7nc7qwnhi
[2023-03-14 17:15:56.468] [DEBUG] [KarmaTestEventProcessor]: Request to begin test event processing
[2023-03-14 17:15:56.468] [DEBUG] [KarmaTestEventProcessor]: Proceeding to begin processing test events
[2023-03-14 17:15:56.469] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome Headless 111.0.5563.64 (Mac OS 10.15.7)
[2023-03-14 17:15:56.469] [DEBUG] [KarmaTestRunProcessor]: Test run starting for requested test run Id: 4s7nc7qwnhi
[2023-03-14 17:15:56.469] [DEBUG] [KarmaTestRunProcessor]: New requested test run with run id '4s7nc7qwnhi' is starting while another one with same Id is already in progress - Continuing with existing test

Provide a Minimal Reproduction Project

I have tested this in every possible project, including the default one created from the cli. So I don't think it should be necessary to attach one here?

Screenshots

Screenshot 2023-03-14 at 13 18 41

Please Provide the Following Information

  • OS: Mac os ventura version 13.2.1
  • Environment: ???
  • Node Version: 19.6.1
  • VS Code Version: 1.76.1
  • Karma Version: 6.4.1
  • Frameworks: Angular, Jasmine

Cannot use karma.config.local.js

Describe the Bug

For some reason, it still reads the karma.conf.js instead of karma.conf.local.js. So I cannot use the local karma file.

here is my settings

"karmaTestExplorer.karmaConfFilePath":"karma.conf.local.js"

Steps to Reproduce the Behavior

  1. Go to VSCode settings
  2. Set "karmaTestExplorer.karmaConfFilePath":"karma.conf.local.js"
  3. karmaTestExplorer is not working
  4. it is still reading karma.conf.js

Describe the Expected Behavior

  • karmaTestExplorer should work with multiple karma config

Provide Debug Logs

  • Karma Test Explorer work space log
[2023-05-09 08:31:23.250] [INFO] [Main]: Activating Karma Test Explorer, v0.8.2
[2023-05-09 08:31:23.251] [INFO] [Main]: Creating file handler
[2023-05-09 08:31:23.251] [INFO] [Main]: Creating workspace configuration resolver
[2023-05-09 08:31:23.251] [INFO] [Main]: Creating project factory
[2023-05-09 08:31:23.251] [INFO] [Main]: Creating config change manager
[2023-05-09 08:31:23.251] [DEBUG] [ConfigChangeManager]: Creating config change subscription
[2023-05-09 08:31:23.252] [INFO] [Main]: Creating preference manager
[2023-05-09 08:31:23.252] [INFO] [Main]: Creating port acquisition manager
[2023-05-09 08:31:23.252] [INFO] [Main]: Creating multi-status display
[2023-05-09 08:31:23.252] [INFO] [Main]: Registering project selection command
[2023-05-09 08:31:23.253] [INFO] [Main]: Registering function execution command
[2023-05-09 08:31:23.253] [INFO] [Main]: Setting initial multi-project context
[2023-05-09 08:31:23.253] [INFO] [Main]: Setting multi-project context to: false
[2023-05-09 08:31:23.253] [INFO] [Main]: Processing initial workspace folders
[2023-05-09 08:31:23.254] [INFO] [Main]: Discovering projects for workspace folders: [
  "/c/Projects/cirium-profiles/src/frontend"
]
[2023-05-09 08:31:23.254] [DEBUG] [ProjectFactory]: Inspecting workspace folder for testing: /c/Projects/cirium-profiles/src/frontend
[2023-05-09 08:31:23.255] [DEBUG] [ProjectFactory]: Including projects in workspace folder '/c/Projects/cirium-profiles/src/frontend' - 'karmaTestExplorer.enableExtension' is set to true
[2023-05-09 08:31:23.255] [DEBUG] [ProjectFactory]: Including projects in workspace folder - One or more inclusion conditions were satisfied: /c/Projects/cirium-profiles/src/frontend
[2023-05-09 08:31:23.257] [DEBUG] [SimpleFileHandler]: Reading file synchronously: /c/Projects/cirium-profiles/src/frontend/angular.json
[2023-05-09 08:31:23.259] [INFO] [ProjectFactory]: Using project type 'angular' (auto-detected) for workspace folder: /c/Projects/cirium-profiles/src/frontend
[2023-05-09 08:31:23.259] [DEBUG] [ProjectFactory]: Angular projects found for workspace folder '/c/Projects/cirium-profiles/src/frontend': cirium-profiles
[2023-05-09 08:31:23.260] [DEBUG] [Main]: Last loaded projects: [
  "/c/Projects/cirium-profiles/src/frontend"
]
[2023-05-09 08:31:23.260] [DEBUG] [Main]: Primary projects: []
[2023-05-09 08:31:23.260] [INFO] [Main]: Registering project: /c/Projects/cirium-profiles/src/frontend
[2023-05-09 08:31:23.260] [INFO] [Main]: Activating adapter for project: /c/Projects/cirium-profiles/src/frontend (frontend: cirium-profiles)
[2023-05-09 08:31:23.272] [INFO] [Main]: Done activating adapter for project: /c/Projects/cirium-profiles/src/frontend (frontend: cirium-profiles)
[2023-05-09 08:31:23.272] [INFO] [Main]: Setting multi-project context to: false
[2023-05-09 08:31:23.273] [INFO] [Main]: Subscribing to config changes for workspace folder: /c/Projects/cirium-profiles/src/frontend
[2023-05-09 08:31:23.274] [INFO] [Main]: Subscribing for subsequent workspace folder additions and removals
[2023-05-09 08:31:23.691] [DEBUG] [PortAcquisitionManager]: Request for 1 port(s) at base port 9976 acquired: 9976
[2023-05-09 08:31:23.691] [TRACE] [PortAcquisitionManager]: Currently assigned ports: 9976
[2023-05-09 08:31:23.707] [DEBUG] [PortAcquisitionManager]: Request for 1 port(s) at base port 9999 acquired: 9999
[2023-05-09 08:31:23.707] [TRACE] [PortAcquisitionManager]: Currently assigned ports: 9976, 9999
[2023-05-09 08:34:23.231] [DEBUG] [PortAcquisitionManager]: Releasing ports: 9999

  • Karma Server Log

karma.server.log

  • Another log
[2023-05-09 08:31:23.267] [DEBUG] [Adapter]: Creating server output channel
[2023-05-09 08:31:23.268] [DEBUG] [Adapter]: Creating port acquisition client
[2023-05-09 08:31:23.268] [DEBUG] [Adapter]: Creating debugger
[2023-05-09 08:31:23.268] [DEBUG] [Adapter]: Creating project commands handler
[2023-05-09 08:31:23.268] [DEBUG] [Commands]: Registering command 'ShowLog' as namespaced command 'karmaTestExplorer.frontend: cirium-profiles:ShowLog
[2023-05-09 08:31:23.268] [DEBUG] [Commands]: Registering command 'Reset' as namespaced command 'karmaTestExplorer.frontend: cirium-profiles:Reset
[2023-05-09 08:31:23.268] [DEBUG] [Adapter]: Creating notifications handler
[2023-05-09 08:31:23.268] [DEBUG] [Adapter]: Creating test emitters
[2023-05-09 08:31:23.518] [DEBUG] [Adapter]: Assembling new test explorer
[2023-05-09 08:31:23.518] [DEBUG] [Adapter]: Re/creating test explorer with extension configuration: {
  "logger": {
    "loggerName": "ExtensionConfig",
    "appender": {
      "outputChannelName": "Karma Test Explorer (frontend: cirium-profiles)",
      "options": {
        "enabled": true,
        "lazyCreate": false
      },
      "outputChannel": {
        "name": "Karma Test Explorer (frontend: cirium-profiles)"
      }
    },
    "logLevel": "debug"
  },
  "projectType": "angular",
  "projectName": "cirium-profiles",
  "projectPath": "/c/Projects/cirium-profiles/src/frontend",
  "projectInstallRootPath": "/c/Projects/cirium-profiles/src/frontend",
  "projectKarmaConfigFilePath": "/c/Projects/cirium-profiles/src/frontend/karma.conf.js",
  "baseKarmaConfFilePath": "/home/ubuntu/.vscode-server/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs",
  "karmaPort": 9976,
  "testTriggerMethod": "http",
  "testParsingMethod": "ast",
  "failOnStandardError": false,
  "defaultSocketConnectionPort": 9999,
  "logLevel": "debug",
  "karmaLogLevel": "debug",
  "karmaReporterLogLevel": "disable",
  "autoWatchEnabled": true,
  "karmaReadyTimeout": 900000,
  "testGrouping": "folder",
  "flattenSingleChildFolders": true,
  "environment": {},
  "envExclude": [],
  "reloadOnKarmaConfigChange": true,
  "customLauncher": {
    "base": "Chrome",
    "flags": [
      "--headless",
      "--disable-gpu",
      "--disable-dev-shm-usage",
      "--remote-debugging-port=9222"
    ]
  },
  "browser": "chrome_no_sandbox",
  "testFiles": [
    "**/*{.,-,_}{test,spec}.{ts,js}",
    "**/{test,spec}{.,-,_}*.{ts,js}"
  ],
  "allowGlobalPackageFallback": true,
  "excludeDisabledTests": false,
  "showOnlyFocusedTests": false,
  "showUnmappedTests": true,
  "showTestDefinitionTypeIndicators": true,
  "debuggerConfig": {
    "name": "Karma Test Explorer Debugging",
    "type": "chrome",
    "request": "attach",
    "browserAttachLocation": "workspace",
    "address": "localhost",
    "port": 9222,
    "timeout": 60000,
    "webRoot": "/c/Projects/cirium-profiles/src/frontend"
  },
  "reloadOnChangedFiles": [],
  "excludeFiles": [
    "**/node_modules/**/*"
  ]
}
[2023-05-09 08:31:23.519] [DEBUG] [Adapter]: Creating main factory
[2023-05-09 08:31:23.519] [DEBUG] [MainFactory]: Detecting test framework from karma config file: /c/Projects/cirium-profiles/src/frontend/karma.conf.js
[2023-05-09 08:31:23.519] [DEBUG] [SimpleFileHandler]: Reading file synchronously: /c/Projects/cirium-profiles/src/frontend/karma.conf.js
[2023-05-09 08:31:23.521] [DEBUG] [MainFactory]: Detected frameworks from karma config: jasmine, @angular-devkit/build-angular
[2023-05-09 08:31:23.521] [DEBUG] [MainFactory]: Detected test framework: jasmine
[2023-05-09 08:31:23.522] [INFO] [MainFactory]: Using test framework: jasmine (auto-detected)
[2023-05-09 08:31:23.522] [DEBUG] [MainFactory]: Creating test helper
[2023-05-09 08:31:23.522] [DEBUG] [MainFactory]: Creating process handler
[2023-05-09 08:31:23.522] [DEBUG] [MainFactory]: Creating test locator
[2023-05-09 08:31:23.523] [DEBUG] [MainFactory]: Creating AST test definition provider
[2023-05-09 08:31:23.524] [DEBUG] [MainFactory]: Creating test store
[2023-05-09 08:31:23.526] [DEBUG] [Adapter]: Getting process handler from factory
[2023-05-09 08:31:23.526] [DEBUG] [Adapter]: Getting test locator from factory
[2023-05-09 08:31:23.527] [DEBUG] [Adapter]: Getting test store from factory
[2023-05-09 08:31:23.527] [DEBUG] [Adapter]: Getting test manager from factory
[2023-05-09 08:31:23.534] [DEBUG] [AngularFactory]: Creating Angular test server executor
[2023-05-09 08:31:23.534] [INFO] [AngularFactory]: Using Angular project 'cirium-profiles' at root path '/c/Projects/cirium-profiles/src/frontend' and karma config file '/c/Projects/cirium-profiles/src/frontend/karma.conf.js'
[2023-05-09 08:31:23.536] [DEBUG] [KarmaFactory]: Creating Karma http test run executor
[2023-05-09 08:31:23.536] [DEBUG] [Adapter]: Getting file watcher from factory
[2023-05-09 08:31:23.537] [DEBUG] [FileWatcher]: Creating file watchers for monitored files
[2023-05-09 08:31:23.537] [DEBUG] [FileWatcher]: Registering file handler for files: [
  "karma.conf.js"
]
[2023-05-09 08:31:23.538] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern 'karma.conf.js' using base path: /c/Projects/cirium-profiles/src/frontend
[2023-05-09 08:31:23.542] [DEBUG] [FileWatcher]: Creating file watchers for test file changes
[2023-05-09 08:31:23.542] [DEBUG] [FileWatcher]: Registering file handler for files: [
  "**/*{.,-,_}{test,spec}.{ts,js}",
  "**/{test,spec}{.,-,_}*.{ts,js}"
]
[2023-05-09 08:31:23.542] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern '**/*{.,-,_}{test,spec}.{ts,js}' using base path: /c/Projects/cirium-profiles/src/frontend
[2023-05-09 08:31:23.544] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern '**/{test,spec}{.,-,_}*.{ts,js}' using base path: /c/Projects/cirium-profiles/src/frontend
[2023-05-09 08:31:23.545] [DEBUG] [Adapter]: Creating test explorer
[2023-05-09 08:31:23.545] [DEBUG] [KarmaTestExplorer]: Test load started
[2023-05-09 08:31:23.546] [DEBUG] [KarmaTestExplorer]: Test hard refresh started
[2023-05-09 08:31:23.548] [DEBUG] [TestLocator]: Refresh requested for all spec file(s): ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-05-09 08:31:23.548] [DEBUG] [TestLocator]: No refresh currently in progress - will commence new refresh for files: ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-05-09 08:31:23.549] [DEBUG] [TestLocator]: Refreshing all spec file(s): ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-05-09 08:31:23.580] [DEBUG] [KarmaTestExplorer]: Refresh request - Test manager is not started - Starting it
[2023-05-09 08:31:23.691] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9976 acquired: 9976
[2023-05-09 08:31:23.692] [INFO] [DefaultTestManager]: Using requested --> available karma port: 9976 --> 9976
[2023-05-09 08:31:23.706] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9999 acquired: 9999
[2023-05-09 08:31:23.707] [INFO] [DefaultTestManager]: Using requested --> available karma listener socket port: 9999 --> 9999
[2023-05-09 08:31:23.707] [DEBUG] [KarmaTestListener]: Attempting to listen on port 9999
[2023-05-09 08:31:23.720] [INFO] [KarmaTestServer]: Starting karma server
[2023-05-09 08:31:23.720] [DEBUG] [AngularTestServerExecutor]: Executing server start with karma port '9976' and karma socket port '9999'
[2023-05-09 08:31:23.764] [DEBUG] [AngularTestServerExecutor]: Found '@angular/cli' module at: /c/Projects/cirium-profiles/src/frontend/node_modules/@angular/cli
[2023-05-09 08:31:23.766] [DEBUG] [AngularTestServerExecutor::SimpleProcess]: Process dqne5twmiow: 
Executing command: '/home/ubuntu/.nodenv/shims/node' 
with args: ["/c/Projects/cirium-profiles/src/frontend/node_modules/@angular/cli/bin/ng","test","cirium-profiles","--karma-config=/home/ubuntu/.vscode-server/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs","--progress=false","--no-watch"]
[2023-05-09 08:31:23.858] [DEBUG] [AngularTestServerExecutor::SimpleProcess]: Process dqne5twmiow - process spawned successfully with PID 22813 for command: /home/ubuntu/.nodenv/shims/node /c/Projects/cirium-profiles/src/frontend/node_modules/@angular/cli/bin/ng test cirium-profiles --karma-config=/home/ubuntu/.vscode-server/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs --progress=false --no-watch
[2023-05-09 08:31:23.864] [INFO] [KarmaTestListener]: Waiting for Karma to connect on port 9999
[2023-05-09 08:31:32.697] [DEBUG] [SimpleFileHandler]: Resolved 47 file(s) from file patterns: ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-05-09 08:31:32.699] [DEBUG] [TestLocator]: Requested --> filtered file count to refresh: 47 --> 47
[2023-05-09 08:31:32.700] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/app-config.service.spec.ts
[2023-05-09 08:31:32.741] [DEBUG] [AstTestFileParser]: Parse operation 7xm0dmrjyel: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/app-config.service.spec.ts' in 0.03 secs
[2023-05-09 08:31:32.742] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/app-user.service.spec.ts
[2023-05-09 08:31:32.794] [DEBUG] [AstTestFileParser]: Parse operation nev62xh23jl: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/app-user.service.spec.ts' in 0.03 secs
[2023-05-09 08:31:32.794] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/app.component.spec.ts
[2023-05-09 08:31:32.826] [DEBUG] [AstTestFileParser]: Parse operation 9afhm94qdkk: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/app.component.spec.ts' in 0.02 secs
[2023-05-09 08:31:32.826] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/script-injector-service.spec.ts
[2023-05-09 08:31:32.854] [DEBUG] [AstTestFileParser]: Parse operation vj1givi6gib: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/script-injector-service.spec.ts' in 0.01 secs
[2023-05-09 08:31:32.854] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/helpers/browserHelpers.spec.ts
[2023-05-09 08:31:32.869] [DEBUG] [AstTestFileParser]: Parse operation kop16t8p89: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/helpers/browserHelpers.spec.ts' in 0.01 secs
[2023-05-09 08:31:32.870] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/helpers/functionalHelpers.spec.ts
[2023-05-09 08:31:32.930] [DEBUG] [AstTestFileParser]: Parse operation ksekqhsunrf: Parsed 18 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/helpers/functionalHelpers.spec.ts' in 0.05 secs
[2023-05-09 08:31:32.930] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/helpers/profilesHelpers.spec.ts
[2023-05-09 08:31:32.945] [DEBUG] [AstTestFileParser]: Parse operation tcasdwc265: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/helpers/profilesHelpers.spec.ts' in 0.00 secs
[2023-05-09 08:31:32.945] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/helpers/aircraftRoutesHelpers.spec.ts
[2023-05-09 08:31:32.964] [DEBUG] [AstTestFileParser]: Parse operation vtuluik4ds: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/helpers/aircraftRoutesHelpers.spec.ts' in 0.01 secs
[2023-05-09 08:31:32.964] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/helpers/newsHelpers.spec.ts
[2023-05-09 08:31:32.984] [DEBUG] [AstTestFileParser]: Parse operation 2twhzfwfv8: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/helpers/newsHelpers.spec.ts' in 0.01 secs
[2023-05-09 08:31:32.984] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/services/news-shared-data.service.spec.ts
[2023-05-09 08:31:32.993] [DEBUG] [AstTestFileParser]: Parse operation esprlysw4a6: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/services/news-shared-data.service.spec.ts' in 0.00 secs
[2023-05-09 08:31:32.993] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/services/profiles-excel-data-service.spec.ts
[2023-05-09 08:31:33.016] [DEBUG] [AstTestFileParser]: Parse operation geh0inky28l: Parsed 6 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/services/profiles-excel-data-service.spec.ts' in 0.01 secs
[2023-05-09 08:31:33.016] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/services/profiles-preferences-service.spec.ts
[2023-05-09 08:31:33.044] [DEBUG] [AstTestFileParser]: Parse operation f9749lwke8g: Parsed 12 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/services/profiles-preferences-service.spec.ts' in 0.02 secs
[2023-05-09 08:31:33.045] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/analytics/analytics-service.spec.ts
[2023-05-09 08:31:33.066] [DEBUG] [AstTestFileParser]: Parse operation nkp9ircnhx: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/analytics/analytics-service.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.066] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-line-chart/aircraft-routes-line-chart.service.spec.ts
[2023-05-09 08:31:33.083] [DEBUG] [AstTestFileParser]: Parse operation y870s1c1dmf: Parsed 4 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-line-chart/aircraft-routes-line-chart.service.spec.ts' in 0.01 secs
[2023-05-09 08:31:33.083] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-metrics/aircraft-routes-metrics.component.spec.ts
[2023-05-09 08:31:33.086] [DEBUG] [AstTestFileParser]: Parse operation 75d7hadw76u: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-metrics/aircraft-routes-metrics.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.086] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-metric-toggle/aircraft-routes-metric-toggle.component.spec.ts
[2023-05-09 08:31:33.090] [DEBUG] [AstTestFileParser]: Parse operation 5mj6fhuabj5: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-metric-toggle/aircraft-routes-metric-toggle.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.090] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-table/aircraft-routes-table.service.spec.ts
[2023-05-09 08:31:33.115] [DEBUG] [AstTestFileParser]: Parse operation keh0ib8d6e: Parsed 4 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-table/aircraft-routes-table.service.spec.ts' in 0.02 secs
[2023-05-09 08:31:33.115] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-details-table/fleet-details-table.component.spec.ts
[2023-05-09 08:31:33.132] [DEBUG] [AstTestFileParser]: Parse operation gf8060v09t: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-details-table/fleet-details-table.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.132] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-details-table/fleet-details-table.service.spec.ts
[2023-05-09 08:31:33.152] [DEBUG] [AstTestFileParser]: Parse operation k5lmiin0yrg: Parsed 10 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-details-table/fleet-details-table.service.spec.ts' in 0.02 secs
[2023-05-09 08:31:33.152] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-jitter-chart/fleet-jitter-chart.service.spec.ts
[2023-05-09 08:31:33.169] [DEBUG] [AstTestFileParser]: Parse operation t2smz0827fq: Parsed 6 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-jitter-chart/fleet-jitter-chart.service.spec.ts' in 0.02 secs
[2023-05-09 08:31:33.169] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar-age.service.spec.ts
[2023-05-09 08:31:33.182] [DEBUG] [AstTestFileParser]: Parse operation xxh77g5p9uo: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar-age.service.spec.ts' in 0.01 secs
[2023-05-09 08:31:33.182] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar.component.spec.ts
[2023-05-09 08:31:33.190] [DEBUG] [AstTestFileParser]: Parse operation bi85rtx5tks: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.190] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar.service.spec.ts
[2023-05-09 08:31:33.195] [DEBUG] [AstTestFileParser]: Parse operation i7ean069sje: Parsed 4 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar.service.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.195] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-grouping/fleet-grouping.component.spec.ts
[2023-05-09 08:31:33.202] [DEBUG] [AstTestFileParser]: Parse operation 6neaqeq5hvm: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-grouping/fleet-grouping.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.202] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-summary-counts/fleet-summary-counts.component.spec.ts
[2023-05-09 08:31:33.212] [DEBUG] [AstTestFileParser]: Parse operation cyuyt87h5h: Parsed 8 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-summary-counts/fleet-summary-counts.component.spec.ts' in 0.01 secs
[2023-05-09 08:31:33.212] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-stacked-bar-chart/fleet-stacked-bar-chart.service.spec.ts
[2023-05-09 08:31:33.229] [DEBUG] [AstTestFileParser]: Parse operation 8ros3zr59zs: Parsed 10 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-stacked-bar-chart/fleet-stacked-bar-chart.service.spec.ts' in 0.02 secs
[2023-05-09 08:31:33.229] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-age-table.service.spec.ts
[2023-05-09 08:31:33.238] [DEBUG] [AstTestFileParser]: Parse operation ck71flkzafh: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-age-table.service.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.238] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-table.component.spec.ts
[2023-05-09 08:31:33.242] [DEBUG] [AstTestFileParser]: Parse operation sywrzf5vzwa: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-table.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.242] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-table.service.spec.ts
[2023-05-09 08:31:33.254] [DEBUG] [AstTestFileParser]: Parse operation qvxzpb7j06: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-table.service.spec.ts' in 0.01 secs
[2023-05-09 08:31:33.254] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-chart/ground-events-chart.component.spec.ts
[2023-05-09 08:31:33.258] [DEBUG] [AstTestFileParser]: Parse operation v3txto1dq1i: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-chart/ground-events-chart.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.258] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-grouping/ground-events-grouping.component.spec.ts
[2023-05-09 08:31:33.261] [DEBUG] [AstTestFileParser]: Parse operation 1xnji36dwr: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-grouping/ground-events-grouping.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.261] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-tab/ground-events-tab.component.spec.ts
[2023-05-09 08:31:33.263] [DEBUG] [AstTestFileParser]: Parse operation mrrqrqgvtd: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-tab/ground-events-tab.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.263] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-shortcuts/home-shortcuts.component.spec.ts
[2023-05-09 08:31:33.270] [DEBUG] [AstTestFileParser]: Parse operation e6a5nfhz9bp: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-shortcuts/home-shortcuts.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.270] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-tab/home-tab.component.spec.ts
[2023-05-09 08:31:33.271] [DEBUG] [AstTestFileParser]: Parse operation 5ir3p6n1xx4: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-tab/home-tab.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.271] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-table/home-table.component.spec.ts
[2023-05-09 08:31:33.275] [DEBUG] [AstTestFileParser]: Parse operation f0l2tkk6b58: Parsed 8 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-table/home-table.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.276] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-articles/news-articles.component.spec.ts
[2023-05-09 08:31:33.283] [DEBUG] [AstTestFileParser]: Parse operation 9x663gm0ma: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-articles/news-articles.component.spec.ts' in 0.01 secs
[2023-05-09 08:31:33.283] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-article/news-article.component.spec.ts
[2023-05-09 08:31:33.295] [DEBUG] [AstTestFileParser]: Parse operation 5wtswga2p2y: Parsed 4 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-article/news-article.component.spec.ts' in 0.01 secs
[2023-05-09 08:31:33.296] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-tab/news-tab.component.spec.ts
[2023-05-09 08:31:33.299] [DEBUG] [AstTestFileParser]: Parse operation imq4lmsj51: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-tab/news-tab.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.299] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/displayed-filter-options.pipe.spec.ts
[2023-05-09 08:31:33.304] [DEBUG] [AstTestFileParser]: Parse operation tczdiqo2kee: Parsed 5 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/displayed-filter-options.pipe.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.304] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/profiles-filter.component.spec.ts
[2023-05-09 08:31:33.309] [DEBUG] [AstTestFileParser]: Parse operation 7qd7kngwk26: Parsed 6 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/profiles-filter.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.309] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/profiles-filter.service.spec.ts
[2023-05-09 08:31:33.336] [DEBUG] [AstTestFileParser]: Parse operation mb7xzg5erkm: Parsed 15 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/profiles-filter.service.spec.ts' in 0.03 secs
[2023-05-09 08:31:33.336] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-header/profiles-header.component.spec.ts
[2023-05-09 08:31:33.341] [DEBUG] [AstTestFileParser]: Parse operation ehaqyi39x1c: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-header/profiles-header.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.342] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-loading/profiles-loading.component.spec.ts
[2023-05-09 08:31:33.348] [DEBUG] [AstTestFileParser]: Parse operation bosj7uyqk1: Parsed 5 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-loading/profiles-loading.component.spec.ts' in 0.01 secs
[2023-05-09 08:31:33.348] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-notice/profiles-notice.component.spec.ts
[2023-05-09 08:31:33.354] [DEBUG] [AstTestFileParser]: Parse operation we0rddkbbc: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-notice/profiles-notice.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.354] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-not-found/profiles-not-found.component.spec.ts
[2023-05-09 08:31:33.360] [DEBUG] [AstTestFileParser]: Parse operation aokqy0y0d8f: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-not-found/profiles-not-found.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.360] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-organization-picker/profiles-organization-picker.component.spec.ts
[2023-05-09 08:31:33.379] [DEBUG] [AstTestFileParser]: Parse operation six7rgnurk: Parsed 10 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-organization-picker/profiles-organization-picker.component.spec.ts' in 0.02 secs
[2023-05-09 08:31:33.379] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-preferences/profiles-preferences.component.spec.ts
[2023-05-09 08:31:33.388] [DEBUG] [AstTestFileParser]: Parse operation 91qrweftf5u: Parsed 5 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-preferences/profiles-preferences.component.spec.ts' in 0.00 secs
[2023-05-09 08:31:33.389] [DEBUG] [TestLocator]: Refreshed 47 spec files from glob list in 9.84 secs: ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-05-09 08:34:09.769] [INFO] [KarmaTestListener]: Established new connection with Karma on port 9999
[2023-05-09 08:34:09.769] [DEBUG] [KarmaTestListener]: Listening for Karma events
[2023-05-09 08:34:10.113] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: file_list_modified
[2023-05-09 08:34:10.316] [DEBUG] [KarmaTestRunProcessor]: Karma server on karma port 9976 is ready for requests
[2023-05-09 08:34:14.836] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browsers_change
[2023-05-09 08:34:14.836] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_register
[2023-05-09 08:34:14.837] [DEBUG] [KarmaTestRunProcessor]: Browsers connected and ready for test execution
[2023-05-09 08:34:14.839] [INFO] [DefaultTestManager]: Discovering tests
[2023-05-09 08:34:14.839] [DEBUG] [KarmaTestRunProcessor]: Processing test discovery for test run with id: xn25bif03d
[2023-05-09 08:34:14.839] [DEBUG] [KarmaTestRunProcessor]: Started test event handling for test run Id: xn25bif03d
[2023-05-09 08:34:14.839] [DEBUG] [KarmaTestRunner]: Executing test discovery run id: xn25bif03d
[2023-05-09 08:34:14.845] [DEBUG] [KarmaHttpTestRunExecutor]: Sending karma run http request with data: {"args":["--grep=/$^/","--testRunId=xn25bif03d"],"refresh":true}
[2023-05-09 08:34:14.848] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome Headless 103.0.5058.0 (Linux x86_64)
[2023-05-09 08:34:14.848] [DEBUG] [KarmaTestRunProcessor]: New test run starting with id 'undefined' is not for the current requested test run Id: xn25bif03d
[2023-05-09 08:34:14.849] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Beginning ambient test event processing
[2023-05-09 08:34:14.849] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to begin test event processing
[2023-05-09 08:34:14.849] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Proceeding to begin processing test events
[2023-05-09 08:34:14.853] [DEBUG] [KarmaHttpTestRunExecutor]: Finished sending http test run request
[2023-05-09 08:34:15.153] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: file_list_modified
[2023-05-09 08:34:15.154] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome Headless 103.0.5058.0 (Linux x86_64)
[2023-05-09 08:34:15.154] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Aborting current ambient event processing - New test is starting
[2023-05-09 08:34:15.154] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test error event with message: New test is starting
[2023-05-09 08:34:15.154] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to conclude test event processing
[2023-05-09 08:34:15.154] [DEBUG] [KarmaTestRunProcessor]: Test run starting for requested test run Id: xn25bif03d
[2023-05-09 08:34:15.154] [DEBUG] [KarmaTestRunProcessor]: Starting test capture session for current requested test run Id: xn25bif03d
[2023-05-09 08:34:15.154] [DEBUG] [KarmaTestEventProcessor]: Request to begin test event processing
[2023-05-09 08:34:15.154] [DEBUG] [KarmaTestEventProcessor]: Proceeding to begin processing test events
[2023-05-09 08:34:15.155] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Aborting current ambient event processing - New test is starting
[2023-05-09 08:34:15.155] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Concluding ambient test event processing
[2023-05-09 08:34:15.155] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Retiring 0 skipped ambient test ids
[2023-05-09 08:34:15.155] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Done concluding ambient test event processing
[2023-05-09 08:34:15.156] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome Headless 103.0.5058.0 (Linux x86_64)
[2023-05-09 08:34:15.156] [DEBUG] [KarmaTestRunProcessor]: Test run starting for requested test run Id: xn25bif03d
[2023-05-09 08:34:15.156] [DEBUG] [KarmaTestRunProcessor]: New requested test run with run id 'xn25bif03d' is starting while another one with same Id is already in progress - Continuing with existing test
[2023-05-09 08:34:23.224] [ERROR] [KarmaTestRunProcessor]: Browser error while listening for test events: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close)
[2023-05-09 08:34:23.225] [DEBUG] [KarmaTestRunProcessor]: Test error processing requested with message: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close)
[2023-05-09 08:34:23.225] [DEBUG] [KarmaTestRunProcessor]: Sending test error event to test event processor with message: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close)
[2023-05-09 08:34:23.225] [DEBUG] [KarmaTestEventProcessor]: Request to process test error event with message: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close)
[2023-05-09 08:34:23.225] [DEBUG] [KarmaTestEventProcessor]: Request to conclude test event processing
[2023-05-09 08:34:23.226] [DEBUG] [KarmaTestListener]: Closing connection with karma
[2023-05-09 08:34:23.226] [DEBUG] [KarmaTestListener]: Cleaning up connections
[2023-05-09 08:34:23.231] [DEBUG] [PortAcquisitionClient]: Releasing ports: 9999
[2023-05-09 08:34:23.233] [ERROR] [DefaultTestManager]: System component terminated with message: Karma disconnected unexpectedly: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close)
[2023-05-09 08:34:23.234] [DEBUG] [DefaultTestManager]: Test action in progress (System stop was not requested) - Initiating system stop
[2023-05-09 08:34:23.234] [DEBUG] [DefaultTestManager]: Stopping test manager
[2023-05-09 08:34:23.235] [DEBUG] [DefaultTestManager]: Stopping karma event listener
[2023-05-09 08:34:23.235] [DEBUG] [KarmaTestListener]: Request to stop karma listener - Listener is still stopping
[2023-05-09 08:34:23.235] [ERROR] [KarmaTestRunProcessor]: Could not capture Karma events - Test execution failed: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close)
[2023-05-09 08:34:23.241] [ERROR] [DefaultTestManager]: Test discovery failed: Karma disconnected unexpectedly: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close)
[2023-05-09 08:34:23.241] [ERROR] [KarmaTestExplorer]: Failed to load tests - Test discovery failed: Karma disconnected unexpectedly: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close)
[2023-05-09 08:34:23.243] [DEBUG] [NotificationHandler]: Showing 'Error' notification with actions 'Retry Test Load' and message: Failed to load tests - Test discovery failed: Karma disconnected unexpectedly: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close)
[2023-05-09 08:34:23.244] [DEBUG] [KarmaTestExplorer]: Updating loaded test store
[2023-05-09 08:34:23.244] [DEBUG] [KarmaTestExplorer]: Clearing loaded root suite
[2023-05-09 08:34:23.244] [DEBUG] [TestStore]: Clearing stored tests
[2023-05-09 08:34:23.248] [INFO] [KarmaTestExplorer]: Finished loading tests in 179.70 secs (Failed)
[2023-05-09 08:34:23.256] [DEBUG] [KarmaTestRunProcessor]: Done with test event handling for test run Id: xn25bif03d
[2023-05-09 08:34:23.284] [DEBUG] [KarmaTestListener]: Karma connection closed on port 9999
[2023-05-09 08:34:25.260] [DEBUG] [NotificationHandler]: User selected 'Show Log' for 'Error' notification: Failed to load tests - Test discovery failed: Karma disconnected unexpectedly: Browser Error - Disconnected Client disconnected from CONNECTED state (transport close) (Click to show log)

Please Provide the Following Information

  • OS and Version: Windows 11
  • Environment: WSL
  • Node Version: 16.14.0
  • VS Code Version:
  • Karma Version: v0.8.2
  • Browser and Version: Chrome No Sanbox
  • Frameworks: Angular
  • Angular Version (if using Angular): 15

Macbook Pro M1 - Monterey 12.4 - no tests showing

Describe the Bug

After performing a clean installation of Visual Studio Code on macOS, with only limited extensions, no tests appear when opening any project. When doing the same thing on a Windows machine it works without an issue.
When trying to use other addons for Test Explorer UI, such as Python addon, it is loaded properly

Steps to Reproduce the Behavior

  1. Create a new project, 'ng create test-units'
  2. Install Karma Test Explorer and Test Explorer UI
  3. Add any unit test
  4. Open Test Explorer UI tab
  5. No plugin loaded/no tests shown

Describe the Expected Behavior

I expected to see all of the tests.

Provide Debug Logs
[2022-07-25 13:22:43.598] [DEBUG] [ProjectFactory]: Inspecting workspace folder for testing: /Users/antoniomikulic/Documents/Test projects/test-units
[2022-07-25 13:22:43.598] [DEBUG] [ProjectFactory]: Including projects in workspace folder '/Users/antoniomikulic/Documents/Test projects/test-units' - 'karmaTestExplorer.enableExtension' is set to true
[2022-07-25 13:22:43.598] [DEBUG] [ProjectFactory]: Including projects in workspace folder - One or more inclusion conditions were satisfied: /Users/antoniomikulic/Documents/Test projects/test-units
[2022-07-25 13:22:43.598] [DEBUG] [ProjectFactory]: Angular projects found for workspace folder /Users/antoniomikulic/Documents/Test projects/test-units: ["test-units"]
[2022-07-25 13:22:43.598] [INFO] [ProjectFactory]: Using angular project type for workspace folder '/Users/antoniomikulic/Documents/Test projects/test-units' (auto-detected)
[2022-07-25 13:22:43.598] [DEBUG] [ConfigChangeManager]: Creating config change subscription
[2022-07-25 13:22:43.598] [DEBUG] [Main]: Subscribing for workspace config changes

  • Please also capture and attach the logs from the Karma Server Output channel when the issue occurs.

Screenshots
Screenshot 2022-07-25 at 15 23 47

Please Provide the Following Information

  • OS: macOs Monterey 12.4
  • Environment: just visual studio code and zsh. VS Code is set up and not in quarantine/read-only
  • Node Version: v18.6.0
  • VS Code Version: 1.69.2, was on the older one but tried a complete reinstall
  • Karma Version: 6.3.0
  • Frameworks: Angular

Additional Context

Doing the same on Windows machine works. I tried this for couple repos, where project is in root, subfolder, etc, nothing seemed to work.

Cannot run new test - Another test operation is still running

Get the Cannot run new test - Another test operation is still running whenever I click to run a new test from the test ui. The only way new tests work is via saving a test file, which automatically runs a new test.

Looks to me like the old tests aren't ending correctly, in the logs I see things like:

[2022-10-31 17:45:44.923] [DEBUG] [KarmaTestRunProcessor]: Test run ending now with test run Id 'undefined' is not for the current requested test run Id: u3dgjvqv4mg

Steps to Reproduce the Behavior

  1. Use the provided project, install
    testuierror.zip
  2. open in vsc
  3. Click on any of the run tests button
  4. Get the error popup
[2022-10-31 17:45:44.624] [DEBUG] [TestLocator]: File is determined to be a spec file: /Users/aaa/Documents/projects/testfail2/test/perk.test.js
[2022-10-31 17:45:44.624] [DEBUG] [FileWatcher]: Changed file is spec file: /Users/aaa/Documents/projects/testfail2/test/perk.test.js
[2022-10-31 17:45:44.624] [DEBUG] [TestLocator]: Refresh requested for 1 spec file(s): ["/Users/aaa/Documents/projects/testfail2/test/perk.test.js"]
[2022-10-31 17:45:44.624] [DEBUG] [TestLocator]: No refresh currently in progress - will commence new refresh for files: ["/Users/aaa/Documents/projects/testfail2/test/perk.test.js"]
[2022-10-31 17:45:44.624] [DEBUG] [TestLocator]: Refreshing 1 spec file(s): ["/Users/aaa/Documents/projects/testfail2/test/perk.test.js"]
[2022-10-31 17:45:44.625] [DEBUG] [TestLocator]: Requested --> filtered file count to refresh: 1 --> 1
[2022-10-31 17:45:44.625] [DEBUG] [SimpleFileHandler]: Reading file async: /Users/aaa/Documents/projects/testfail2/test/perk.test.js
[2022-10-31 17:45:44.626] [DEBUG] [AstTestFileParser]: Parse operation w4wrqe6umja: Parsed 1 total tests from file '/Users/aaa/Documents/projects/testfail2/test/perk.test.js' in 0.00 secs
[2022-10-31 17:45:44.626] [DEBUG] [TestLocator]: Refreshed 1 spec files from file list in 0.00 secs: ["/Users/aaa/Documents/projects/testfail2/test/perk.test.js"]
[2022-10-31 17:45:44.900] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: file_list_modified
[2022-10-31 17:45:44.900] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome Headless 107.0.5304.87 (Mac OS 10.15.7)
[2022-10-31 17:45:44.900] [DEBUG] [KarmaTestRunProcessor]: New test run starting with id 'undefined' is not for the current requested test run Id: u3dgjvqv4mg
[2022-10-31 17:45:44.900] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Beginning ambient test event processing
[2022-10-31 17:45:44.900] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to begin test event processing
[2022-10-31 17:45:44.900] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Proceeding to begin processing test events
[2022-10-31 17:45:44.919] [DEBUG] [KarmaTestRunProcessor]: Test run started in browser: Chrome Headless 107.0.5304.87 (Mac OS 10.15.7)
[2022-10-31 17:45:44.920] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-10-31 17:45:44.920] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-10-31 17:45:44.923] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec0' with test processor: KarmaAutoWatchTestEventProcessor
[2022-10-31 17:45:44.923] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec0
[2022-10-31 17:45:44.923] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-10-31 17:45:44.923] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec0
[2022-10-31 17:45:44.923] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome Headless 107.0.5304.87 (Mac OS 10.15.7)
[2022-10-31 17:45:44.923] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-10-31 17:45:44.923] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browsers_change
[2022-10-31 17:45:44.923] [DEBUG] [KarmaTestRunProcessor]: Test run completed in browser: Chrome Headless 107.0.5304.87 (Mac OS 10.15.7)
[2022-10-31 17:45:44.923] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_complete_with_no_more_retries
[2022-10-31 17:45:44.923] [DEBUG] [KarmaTestRunProcessor]: Test run completed with status 'Complete' for browsers: Chrome Headless 107.0.5304.87 (Mac OS 10.15.7)
[2022-10-31 17:45:44.923] [DEBUG] [KarmaTestRunProcessor]: Test run ending now with test run Id 'undefined' is not for the current requested test run Id: u3dgjvqv4mg
[2022-10-31 17:45:44.923] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to conclude test event processing
[2022-10-31 17:45:44.923] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Test event processor is currently processing - Concluding current processing
[2022-10-31 17:45:44.923] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Aggregate test stats will not be emitted because emit test stats is disabled for the current event processor
[2022-10-31 17:45:44.923] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Concluding ambient test event processing
[2022-10-31 17:45:44.923] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Retiring 0 skipped ambient test ids
[2022-10-31 17:45:44.924] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Done concluding ambient test event processing
[2022-10-31 17:45:44.924] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test load events
[2022-10-31 17:45:44.924] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec0
[2022-10-31 17:45:44.924] [DEBUG] [DefaultTestBuilder]: Processed 1 specs to build tests
[2022-10-31 17:45:44.924] [DEBUG] [TestSuiteOrganizer]: Rearranged 1 test files into folders
[2022-10-31 17:45:44.924] [DEBUG] [TestDiscoveryProcessor]: Test discovery - 1 total tests discovered from Karma
[2022-10-31 17:45:44.924] [DEBUG] [TestStore]: Clearing stored tests
[2022-10-31 17:45:44.924] [DEBUG] [TestStore]: Updating stored tests
[2022-10-31 17:45:44.925] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Done processing ambient test load events
[2022-10-31 17:47:09.854] [DEBUG] [KarmaTestExplorer]: Cannot run new test - Another test operation is still running
[2022-10-31 17:47:09.854] [DEBUG] [NotificationHandler]: Showing 'Warning' notification with actions  and message: Cannot run new test - Another test operation is still running

Screenshots

  • If applicable, add screenshots to help explain the issue you are having.

Please Provide the Following Information

  • OS: OSX
  • Node Version: v16.18.0
  • VS Code Version: 1.72.2
  • Karma Version: 6.4.1
  • Frameworks: Jasmine

does not work when extension is in a path with a a space in the name

Describe the bug
unfortunately my user name on windows contains a space (yes I want to strangle the sysadmin who did this too) anyway my user folder now contains a space. Therefor the visual code extension is in a folder path with a space. Now the ng test command will not load.

To Reproduce
Steps to reproduce the behavior:
Make sure the extension is in a folder with a space in the name

Expected behavior
It should work with the --karma-config=c:\Users\A. Bruinsma.vscode\extensions\lucono.karma-test-explorer-0.1.0\dist\karma.conf
I think some quotes would help.

Logs
[2021-10-05 12:36:49.952] [INFO] [Adapter]: Initializing adapter
[2021-10-05 12:36:49.953] [INFO] [MainFactory]: Using test framework: jasmine
[2021-10-05 12:36:49.953] [INFO] [MainFactory]: Loading test info from test files
[2021-10-05 12:36:49.955] [INFO] [MainFactory]: Project detected as Angular project
[2021-10-05 12:36:49.956] [INFO] [AngularFactory]: Selected default Angular project 'app' at root path 'c:\code\myProject\app' and karma config file 'c:\code\myProject\app\karma.conf.js'
[2021-10-05 12:36:50.376] [INFO] [DefaultTestManager]: Using requested --> available karma port: 9976 --> 9976
[2021-10-05 12:36:50.407] [INFO] [DefaultTestManager]: Using requested --> available karma listener socket port: 9999 --> 10000
[2021-10-05 12:36:50.437] [INFO] [DefaultTestManager]: Using requested --> available debug port: 9222 --> 9223
[2021-10-05 12:36:50.439] [INFO] [KarmaTestServer]: Starting karma server
[2021-10-05 12:36:50.446] [INFO] [KarmaTestEventListener]: Waiting on port 10000 for Karma to connect
[2021-10-05 12:36:52.479] [ERROR] [CommandLineProcessHandler]: Process ixmt2m6d1ra - Error from child process: 'Error: spawn npx ENOENT' - for command: npx ng test app --karma-config=c:\Users\A. Bruinsma.vscode\extensions\lucono.karma-test-explorer-0.1.0\dist\karma.conf --progress=false --no-watch
[2021-10-05 12:36:53.405] [WARN] [SpecLocator]: No tests found in spec file: c:/code/myProject/app/src/app/shared/test-fixture.spec.ts
[2021-10-05 12:36:53.890] [WARN] [SpecLocator]: No tests found in spec file: c:/code/myProject/app/src/app/shared/test-fixture.spec.ts

Please complete the following information:

  • OS: Windows 10
  • Environment Just normal windows 10 with vs code 1.60.02
  • Version v0.1.0

Additional context

Windows file paths cause false-positive duplicate detection

SpecLocator gets a mix of Windows and Unix filepaths throughout its lifecycle. When the filepaths are mixed, both styles end up in the cache and then Karma Test Explorer complains that tests/suites have duplicate definitions when in reality they do not. This seems to cause the extension to quit functioning correctly until it is restarted. Disabling watch mode alleviates the breakage, but severely limits the overall functionality/usefulness.

I am not actually positive where the unix filepaths are coming from on my system, as it looks like most things using the public interface of SpecLocator should be using the default Windows paths.

image

Reproduction steps:

  1. Open an Angular project in a Windows environment with Karma Test Explorer set up.
  2. Let Karma Test Explorer initialize
  3. Run tests
  4. Edit one of the test files and save it to trigger watch
  5. Test Explorer now shows every test as having a duplicate definition

Karma 5.X sometimes reports "Some of your tests did a full page reload!"

Describe the Bug

I have some project setups that are failing with this extension, reporting "Some of your tests did a full page reload!".
If I modify a file and save it, the subsequent run correctly discovers the tests. It's only ever the initial project open that fails.

Steps to Reproduce the Behavior

Steps to reproduce are unclear. I have similar repos that do not have this issue, and only one that is exhibiting this symptom.
Unfortunately, I cannot share the repo with this symptom for commercial reasons.

Describe the Expected Behavior

The tests should be properly discovered.

Debug Logs

Karma Test Explorer logs snippet:

[2021-10-30 00:51:11.618] [TRACE] [MultiEventHandler]: Using assigned handler for received event: run_complete
[2021-10-30 00:51:11.618] [DEBUG] [KarmaTestEventListener]: Test run completed with status 'Complete' for browsers: Chrome Headless 95.0.4638.54 (Windows 10)
[2021-10-30 00:51:11.618] [DEBUG] [KarmaTestEventListener]: Received 'run_complete' event with run Id 'lcdsed19y1d' while no requested user test capture
[2021-10-30 00:51:11.619] [DEBUG] [KarmaHttpTestRunExecutor]: Karma http request closed
[2021-10-30 00:52:02.513] [DEBUG] [Notifications]: User selected 'Show Log' for 'Error' notification: Failed to load tests - Test discovery failed: Browser Error - Some of your tests did a full page reload! (Click to show log)

Karma Server:

30 10 2021 11:51:10.855:DEBUG [reporter:KarmaTestExplorerReporter]: New Karma event: browser_error

Chrome Headless 95.0.4638.54 (Windows 10) ERROR
  Some of your tests did a full page reload!

Screenshots

image

Please Provide the Following Information

  • OS: Windows 10
  • Environment: Karma 5.2.3
  • Version: v0.2.1

Additional Context

This is possibly related to karma-runner/karma#3482. Upgrading temporarily to karma 6 appeared to fix the issue, but for various reasons I can't use this an actual fix.

[Autorun]: Symbol of passed test case not green

I have a project that is based on Angular.After using the "Angular/Karma Test Explorer" before . I have found something that I am not sure if it should be a bug or a feature.

As approach of my test cases I use TDD.
At the first execution of the test cases all are marked with a green or red tick. (OK so far)

Now I want to extend some of the code and specifically execute some of the test cases. For this I use the Autorun function. (OK as far as it goes)

As soon as a code change is detected, the selected test cases run again. Here I notice that after a short flash of the executed test cases none of the test results are displayed. The icon is grayed out again. Only a fail of the test result is displayed consistently.

My expectation would be that the results are always displayed with the current test run result. So always red or green but not gray for an executed test cases.

The behavior only occurs when the autorun function runs the test cases. When I manually start the test, I always get a red or green test result.

Debug Logs

[2022-01-28 07:25:32.755] [DEBUG] [DefaultTestBuilder]: Processed 131 specs to build tests
[2022-01-28 07:25:32.757] [DEBUG] [TestSuiteOrganizer]: Rearranged 11 test files into folders
[2022-01-28 07:25:32.759] [DEBUG] [TestDiscoveryProcessor]: Test discovery - 131 total tests discovered from Karma
[2022-01-28 07:25:32.763] [DEBUG] [DefaultTestManager]: Discovered 131 total tests
[2022-01-28 07:25:32.763] [DEBUG] [Adapter]: Test discovery got 131 tests
[2022-01-28 07:25:32.763] [DEBUG] [Adapter]: Updating loaded test store
[2022-01-28 07:25:32.763] [DEBUG] [Adapter]: Storing newly loaded root suite
[2022-01-28 07:25:32.764] [DEBUG] [TestStore]: Clearing stored tests
[2022-01-28 07:25:32.764] [DEBUG] [TestStore]: Updating stored tests
[2022-01-28 07:25:32.780] [DEBUG] [Adapter]: Cannot run new test - Another test operation is still running
[2022-01-28 07:25:32.780] [DEBUG] [Notifications]: Showing 'Warning' notification with actions  and message: Cannot run new test - Another test operation is still running
[2022-01-28 07:25:32.781] [INFO] [Adapter]: Finished loading tests in 33.56 secs (131 tests loaded)
[2022-01-28 07:25:32.783] [DEBUG] [KarmaHttpTestRunExecutor]: Karma http request closed

System Info

  • OS: Windows 10
  • Node Version: v14.15.0
  • VSCode Version: 1.63.2
  • Karma Version: 6.3.12
  • Frameworks: Angular

Picture of executed and passed test case

Executed_passed_testcase

`reporters` in config could be a string

Describe the Bug

This tool expects reporters to be undefined or an array:

(config.reporters ??= []).splice(0, config.reporters.length, reporterName);

However, contrary to the docs, Karma 6.3.16 accepts a single string value for reporters as well. Since my config was configured with a single string value, it would have saved me a lot of time if this tool also accepted single string values.

Steps to Reproduce the Behavior

Use a string value for reporters. See that Karma works, but this tool fails due to the line above.

Describe the Expected Behavior

This tool can accept single string reporter values, like Karma.

Karma Test Explorer settings don't exist/show

Describe the Bug

  • After installing karma-test-explorer I dont see any of the pluging settings, especially the ones mentioned in the Quick Start

Steps to Reproduce the Behavior

(see screenshot below)

Describe the Expected Behavior

I expected to be able to set/change the settings karmaTestExplorer.projectRootPath and karmaTestExplorer.karmaConfFilePath

Screenshots

imagen

Please Provide the Following Information

  • Extension version [0.3.0] - Nov 6, 2021
  • Windows 10 - 64 bits
  • VScode version

Version: 1.62.1 (system setup)
Commit: f4af3cbf5a99787542e2a30fe1fd37cd644cc31f
Date: 2021-11-05T10:57:55.946Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043

Debug does not stop in subprojects

Describe the Bug

Create a new Angular (or even plain Typescript) project. Try to Debug. Works.
Move Angular project to a subfolder, create settings.json

{
    
    "karmaTestExplorer.logLevel": "debug",
    "karmaTestExplorer.karmaLogLevel": "debug",
    "karmaTestExplorer.projects":["bulletin-board"]
}

Debug does not stop at any breakpoint anymore.

Node Version: 16
VS Code Version: 1.70.1
Karma Version: 6.4
Frameworks: (e.g. Angular, Jasmine, Mocha) Angular, Jasmine

Server doesn't start after v0.6.0 release

Works perfectly fine on .5

Karma server error:

08 04 2022 18:54:46.489:ERROR [config]: Error in config file!
/Users/aaa/.vscode/extensions/lucono.karma-test-explorer-0.6.0/dist/karma.conf.js:173
);var f=new u(p),l=f.promise();return f.setHowMany(v),f.init(),l}n(d,"some"),e.some=function(p,v){return d(p,v)},e.prototype.some=function(p){return d(this,p)},e._SomePromiseArray=u}});var Kn=k((xs,Vn)=>{"use strict";Vn.exports=function(e,t,a){var r=Z(),i=e.TimeoutError;function o(v){this.handle=v}n(o,"HandleWrapper"),o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var s=n(function(v){return h(+this).thenReturn(v)},"afterValue"),h=e.delay=function(v,f){var l,c;return f!==void 0?(l=e.resolve(f)._then(s,null,null,v,void 0),a.cancellation()&&f instanceof e&&l._setOnCancel(f)):(l=new e(t),c=setTimeout(function(){l._fulfill()},+v),a.cancellation()&&l._setOnCancel(new o(c)),l._captureStackTrace()),l._setAsyncGuaranteed(),l};e.prototype.delay=function(v){return h(v,this)};var u=n(function(v,f,l){var c;typeof f!="string"?f instanceof Error?c=f:c=new i("operation timed out"):c=new i(f),r.markAsOriginatingFromRejection(c),v._attachExtraTrace(c),v._reject(c),l?.cancel()},"afterTimeout");function d(v){return clearTimeout(this.handle),v}n(d,"successClear");function p(v){throw clearTimeout(this.handle),v}n(p,"failureClear"),e.prototype.timeout=function(v,f){v=+v;var l,c,_=new o(setTimeout(n(function(){l.isPending()&&u(l,f,c)},"timeoutTimeout"),v));return a.cancellation()?(c=this.then(),l=c._then(d,p,void 0,_,void 0),l._setOnCancel(_)):l=this._then(d,p,void 0,_,void 0),l}}});var Wn=k((js,$n)=>{"use strict";$n.exports=function(e,t,a,r,i,o){var s=Z(),h=de().TypeError,u=Z().inherits,d=s.errorObj,p=s.tryCatch,v={};function f(F){setTimeout(function(){throw F},0)}n(f,"thrower");function l(F){var R=a(F);return R!==F&&typeof F._isDisposable=="function"&&typeof F._getDisposer=="function"&&F._isDisposable()&&R._setDisposable(F._getDisposer()),R}n(l,"castPreservingDisposable");function c(F,R){var M=0,G=F.length,L=new e(i);function U(){if(M>=G)return L._fulfill();var W=l(F[M++]);if(W instanceof e&&W._isDisposable()){try{W=a(W._getDisposer().tryDispose(R),F.promise)}catch(oe){return f(oe)}if(W instanceof e)return W._then(U,f,null,null,null)}U()}return n(U,"iterator"),U(),L}n(c,"dispose");function _(F,R,M){this._data=F,this._promise=R,this._context=M}n(_,"Disposer"),_.prototype.data=function(){return this._data},_.prototype.promise=function(){return this._promise},_.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():v},_.prototype.tryDispose=function(F){var R=this.resource(),M=this._context;M!==void 0&&M._pushContext();var G=R!==v?this.doDispose(R,F):null;return M!==void 0&&M._popContext(),this._promise._unsetDisposable(),this._data=null,G},_.isDisposer=function(F){return F!=null&&typeof F.resource=="function"&&typeof F.tryDispose=="function"};function b(F,R,M){this.constructor$(F,R,M)}n(b,"FunctionDisposer"),u(b,_),b.prototype.doDispose=function(F,R){var M=this.data();return M.call(F,F,R)};function w(F){return _.isDisposer(F)?(this.resources[this.index]._setDisposable(F),F.promise()):F}n(w,"maybeUnwrapDisposer");function x(F){this.length=F,this.promise=null,this[F-1]=null}n(x,"ResourceList"),x.prototype._resultCancelled=function(){for(var F=this.length,R=0;R<F;++R){var M=this[R];M instanceof e&&M.cancel()}},e.using=function(){var F=arguments.length;if(F<2)return t("you must pass at least 2 arguments to Promise.using");var R=arguments[F-1];if(typeof R!="function")return t("expecting a function but got "+s.classString(R));var M,G=!0;F===2&&Array.isArray(arguments[0])?(M=arguments[0],F=M.length,G=!1):(M=arguments,F--);for(var L=new x(F),U=0;U<F;++U){var W=M[U];if(_.isDisposer(W)){var oe=W;W=W.promise(),W._setDisposable(oe)}else{var $=a(W);$ instanceof e&&(W=$._then(w,null,null,{resources:L,index:U},void 0))}L[U]=W}for(var le=new Array(L.length),U=0;U<le.length;++U)le[U]=e.resolve(L[U]).reflect();var S=e.all(le).then(function(X){for(var P=0;P<X.length;++P){var Q=X[P];if(Q.isRejected())return d.e=Q.error(),d;if(!Q.isFulfilled()){S.cancel();return}X[P]=Q.value()}D._pushContext(),R=p(R);var ee=G?R.apply(void 0,X):R(X),E=D._popContext();return o.checkForgottenReturns(ee,E,"Promise.using",D),ee}),D=S.lastly(function(){var X=new e.PromiseInspection(S);return c(L,X)});return L.promise=D,D._setOnCancel(L),D},e.prototype._setDisposable=function(F){this._bitField=this._bitField|131072,this._disposer=F},e.prototype._isDisposable=function(){return(this._bitField&131072)>0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},e.prototype.disposer=function(F){if(typeof F=="function")return new b(F,this,r());throw new h}}});var Qn=k((ks,Xn)=>{"use strict";Xn.exports=function(e){var t=e._SomePromiseArray;function a(r){var i=new t(r),o=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),o}n(a,"any"),e.any=function(r){return a(r)},e.prototype.any=function(){return a(this)}}});var Yn=k((Ls,zn)=>{"use strict";zn.exports=function(e,t){var a=e.reduce,r=e.all;function i(){return r(this)}n(i,"promiseAllThis");function o(s,h){return a(s,h,t,t)}n(o,"PromiseMapSeries"),e.prototype.each=function(s){return a(this,s,t,0)._then(i,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(s){return a(this,s,t,t)},e.each=function(s,h){return a(s,h,t,0)._then(i,void 0,void 0,s,void 0)},e.mapSeries=o}});var Zn=k((Is,Jn)=>{"use strict";Jn.exports=function(e,t){var a=e.map;e.prototype.filter=function(r,i){return a(this,r,i,t)},e.filter=function(r,i,o){return a(r,i,o,t)}}});var ei=k((Ns,Mt)=>{"use strict";Mt.exports=function(){var e=n(function(){return new x(circular promise resolution chain
^

SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.parseConfig (/Users/aaa/Documents/projects/test/node_modules/karma/lib/config.js:433:22)
at Object.exports.run (/Users/aaa/Documents/projects/test/node_modules/karma/lib/cli.js:288:26)
at Object. (/Users/aaa/Documents/projects/test/node_modules/karma/bin/karma:3:23)

Steps to Reproduce the Behavior

OSX
Node v12.22.10
karma v6.3.16
vscode latest
framework jasmine

Tests with same name but different classes should not be marked as "duplicates"

Describe the Bug

Jasmine "describe" with the same name as another test is marked with a triangle in testing UI (duplicates?). In Angular it's very common for large projects to have multiple services with the same name (for example StateService) but only provided within one specific component. Allowing for service to be disposed when component is destroyed.

I'm not sure if this issue is related to this extension, or if this belongs to vscode-test-explorer project.

Steps to Reproduce the Behavior
(see provided screenshots below for a visual representation)

  1. Create a new Angular project
  2. Create two components with with different names (like test-comp-one and test-comp-two)
  3. Create two services with the same name (for example StateService) and provide these in one component each.
  4. Open "testing" panel in VSC

Describe the Expected Behavior

Test UI should not report an error.

Provide Debug Logs

No issue with running so excluding logs

Screenshots

Result in testing UI
test explorer

Two different services, living in unique folders but share the same name
file explorer

Please Provide the Following Information

  • OS: Windows 10 build 19043.1348
  • Karma Test Explorer version: 0.3.0
  • Test Adapter Converter version: 0.1.4
  • Test Explorer UI version: 2.21.1

Karma server will not start

Describe the Bug

Karma Test Explorer won't start because of an error: Browser Failure - cannot start

Steps to Reproduce the Behavior

I open a workspace where I have an angular project in a sub-folder. Karma Test Explorer is configured to use that folder as the project folder. Everything works as expected when I run "ng test" in that folder

Describe the Expected Behavior

Karma should start and I should see the test in the Tests panel

Provide Debug Logs
[2022-01-12 09:41:55.302] [DEBUG] [TestLocator]: Refreshed 140 spec files from glob list in 1.74 secs: ["/*{.,-,_}{test,spec,unit}.{ts,js}","/{test,spec,unit}{.,-,_}*.{ts,js}"]
[2022-01-12 09:42:01.739] [DEBUG] [KarmaTestListener]: Received Karma event: browser_process_failure
[2022-01-12 09:42:01.739] [ERROR] [KarmaTestRunProcessor]: Failure while listening for test events: Browser Failure - cannot start
[2022-01-12 09:42:01.739] [DEBUG] [KarmaTestRunProcessor]: Test error processing requested with message: Browser Failure - cannot start
[2022-01-12 09:42:01.739] [DEBUG] [KarmaTestListener]: Closing connection with karma
[2022-01-12 09:42:01.739] [INFO] [KarmaTestListener]: Cleaning up connections
[2022-01-12 09:42:01.741] [DEBUG] [PortAcquisitionManager]: Releasing ports: 9999
[2022-01-12 09:42:01.742] [ERROR] [DefaultTestManager]: System component terminated with message: Karma server failed to connect: Browser Failure - cannot start
[2022-01-12 09:42:01.742] [DEBUG] [DefaultTestManager]: Test action in progress (System stop was not requested) - Initiating system stop
[2022-01-12 09:42:01.742] [INFO] [DefaultTestManager]: Stopping test manager
[2022-01-12 09:42:01.742] [DEBUG] [DefaultTestManager]: Stopping karma event listener
[2022-01-12 09:42:01.742] [DEBUG] [KarmaTestListener]: Request to stop karma listener - Listener is still stopping
[2022-01-12 09:42:01.742] [ERROR] [DefaultTestManager]: Error: Karma server failed to connect: Browser Failure - cannot start
[2022-01-12 09:42:01.742] [INFO] [DefaultTestManager]: Stopping test manager
[2022-01-12 09:42:01.742] [DEBUG] [DefaultTestManager]: Stopping karma event listener
[2022-01-12 09:42:01.742] [DEBUG] [KarmaTestListener]: Request to stop karma listener - Listener is still stopping
[2022-01-12 09:42:01.744] [DEBUG] [KarmaTestListener]: Karma connection closed on port 9999
[2022-01-12 09:42:01.744] [DEBUG] [KarmaTestListener]: Done closing karma listener connection
[2022-01-12 09:42:01.744] [DEBUG] [DefaultTestManager]: Stopping karma server
[2022-01-12 09:42:01.745] [INFO] [KarmaTestServer]: Killing Karma server on port 9976
[2022-01-12 09:42:01.745] [INFO] [AngularTestServerExecutor:CommandLineProcessHandler]: Process rub60qo8lom - Killing process tree of PID: 17737
[2022-01-12 09:42:01.753] [DEBUG] [DefaultTestManager]: Karma server is already stopped
[2022-01-12 09:42:01.753] [INFO] [DefaultTestManager]: Stopped test manager
[2022-01-12 09:42:01.753] [ERROR] [Adapter]: Failed to load tests - Karma server failed to connect: Browser Failure - cannot start
[2022-01-12 09:42:01.753] [DEBUG] [Notifications]: Showing 'Error' notification with actions 'Retry Test Load' and message: Failed to load tests - Karma server failed to connect: Browser Failure - cannot start
[2022-01-12 09:42:01.754] [DEBUG] [Adapter]: Updating loaded test tree
[2022-01-12 09:42:01.754] [INFO] [Adapter]: Finished loading tests in 10.01 secs (Failed)
[2022-01-12 09:42:01.756] [DEBUG] [AngularTestServerExecutor:CommandLineProcessHandler]: Process rub60qo8lom - Successfully killed process tree for PID: 17737
[2022-01-12 09:42:01.802] [DEBUG] [AngularTestServerExecutor:CommandLineProcessHandler]: Process rub60qo8lom - PID 17737 exited with code '0' and signal 'null' for command: /tmp/fnm_multishells/17026_1641980140216/bin/node /home/je/workspace/vmlf-api/lambda/webapp/node_modules/@angular/cli/bin/ng test vmlf-webapp --karma-config=/home/je/.vscode-server/extensions/lucono.karma-test-explorer-0.4.0/dist/karma.conf --progress=false --no-watch
[2022-01-12 09:42:01.802] [DEBUG] [KarmaTestServer]: Karma server process terminated
[2022-01-12 09:42:01.802] [DEBUG] [PortAcquisitionManager]: Releasing ports: 9976
[2022-01-12 09:42:01.802] [DEBUG] [PortAcquisitionManager]: Releasing ports: 9222
[2022-01-12 09:42:01.802] [INFO] [KarmaTestServer]: Karma server on port 9976 killed
[2022-01-12 09:42:01.802] [INFO] [DefaultTestManager]: Stopped test manager
[2022-01-12 09:42:01.802] [DEBUG] [DefaultTestManager]: System is done stopping

Karma server:
12 01 2022 09:56:44.049:WARN [karma]: No captured browser, open http://localhost:9976/
12 01 2022 09:56:44.059:INFO [karma-server]: Karma v6.3.9 server started at http://localhost:9976/
12 01 2022 09:56:44.059:INFO [launcher]: Launching browsers KarmaTestExplorer_CustomLauncher with concurrency unlimited

12 01 2022 09:56:44.062:INFO [launcher]: Starting browser Chrome

12 01 2022 09:56:50.853:ERROR [launcher]: Cannot start Chrome
[0112/095644.296:ERROR:sandbox_policy_base.cc(356)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = '\tmp\karma-11437954\Default\chrome_debug.log'
[0112/095644.304:ERROR:gpu_process_host.cc(962)] GPU process launch failed: error_code=2
[0112/095644.304:WARNING:gpu_process_host.cc(1274)] The GPU process has crashed 1 time(s)

DevTools listening on ws://127.0.0.1:9222/devtools/browser/7ea340ce-f4a8-4ebb-9466-a4d1b5be8e5b
[0112/095644.307:ERROR:sandbox_policy_base.cc(356)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = '\tmp\karma-11437954\Default\chrome_debug.log'
[0112/095644.308:ERROR:simple_backend_impl.cc(79)] Failed to create directory: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\wasm
[0112/095644.308:ERROR:simple_backend_impl.cc(79)] Failed to create directory: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\js
[0112/095644.309:ERROR:simple_backend_impl.cc(79)] Failed to create directory: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\wasm
[0112/095644.309:ERROR:simple_backend_impl.cc(79)] Failed to create directory: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\js
[0112/095644.309:ERROR:simple_backend_impl.cc(734)] Simple Cache Backend: wrong file structure on disk: 1 path: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\wasm
[0112/095644.309:ERROR:simple_backend_impl.cc(734)] Simple Cache Backend: wrong file structure on disk: 1 path: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\js
[0112/095644.311:ERROR:sandbox_policy_base.cc(356)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = '\tmp\karma-114379
54\Default\chrome_debug.log'
[0112/095644.313:ERROR:gpu_process_host.cc(962)] GPU process launch failed: error_code=2
[0112/095644.313:WARNING:gpu_process_host.cc(1274)] The GPU process has crashed 2 time(s)
[0112/095644.314:ERROR:sandbox_policy_base.cc(356)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = '\tmp\karma-11437954\Default\chrome_debug.log'
[0112/095644.314:ERROR:simple_backend_impl.cc(79)] Failed to create directory: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\wasm
[0112/095644.314:ERROR:simple_backend_impl.cc(79)] Failed to create directory: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\js
[0112/095644.314:ERROR:simple_backend_impl.cc(79)] Failed to create directory: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\wasm
[0112/095644.314:ERROR:simple_backend_impl.cc(734)] Simple Cache Backend: wrong file structure on disk: 1 path: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\wasm
[0112/095644.314:ERROR:simple_backend_impl.cc(79)] Failed to create directory: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\js
[0112/095644.315:ERROR:simple_backend_impl.cc(734)] Simple Cache Backend: wrong file structure on disk: 1 path: C:\Program Files\Google\Chrome\Application\97.0.4692.71/tmp/karma-11437954\Default\Code Cache\js
[0112/095644.315:ERROR:gpu_process_host.cc(962)] GPU process launch failed: error_code=2
[0112/095644.315:WARNING:gpu_process_host.cc(1274)] The GPU process has crashed 3 time(s)
[0112/095644.315:ERROR:disk_cache.cc(185)] Unable to create cache
[0112/095644.315:ERROR:sandbox_policy_base.cc(356)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = '\tmp\karma-11437954\Default\chrome_debug.log'
[0112/095644.315:ERROR:shader_disk_cache.cc(612)] Shader Cache Creation failed: -2
[0112/095644.315:ERROR:disk_cache.cc(185)] Unable to create cache
[0112/095644.315:ERROR:disk_cache.cc(185)] Unable to create cache
[0112/095644.316:ERROR:gpu_process_host.cc(962)] GPU process launch failed: error_code=2
[0112/095644.316:WARNING:gpu_process_host.cc(1274)] The GPU process has crashed 4 time(s)
[0112/095644.316:ERROR:sandbox_policy_base.cc(356)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = '\tmp\karma-11437954\Default\chrome_debug.log'
[0112/095644.317:ERROR:gpu_process_host.cc(962)] GPU process launch failed: error_code=2
[0112/095644.317:WARNING:gpu_process_host.cc(1274)] The GPU process has crashed 5 time(s)
[0112/095644.317:ERROR:sandbox_policy_base.cc(356)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = '\tmp\karma-11437954\Default\chrome_debug.log'
[0112/095644.317:ERROR:gpu_process_host.cc(962)] GPU process launch failed: error_code=2
[0112/095644.317:WARNING:gpu_process_host.cc(1274)] The GPU process has crashed 6 time(s)
[0112/095644.317:FATAL:gpu_data_manager_impl_private.cc(407)] GPU process isn't usable. Goodbye.

Please Provide the Following Information

  • OS: Windows 11 with WSL2
  • Environment: WSL2 project
  • Node Version: 17
  • VSCode Version: 1.63.2
  • Karma Version: 6.3.9
  • Frameworks: Angular 13 & Jasmine

Many Tests show up as unmapped in version 0.7.4 that were correctly mapped in 0.7.3

When using version 0.7.4 many spec files wouldnt get read correctly, resulting in many unmapped tests.
I switched to 0.7.3 where most of the tests could be mapped again.

I got a bunch of these messages:

[2022-08-28 16:12:29.579] [ERROR] [TestLocator]: Failed to get tests from spec file /home/paul/git/[...].component.spec.ts: SyntaxError: Unexpected token (5:15)
[2022-08-28 16:12:29.580] [ERROR] [TestLocator]: Failed to get tests from spec file /home/paul/git/[...].component.spec.ts: SyntaxError: Unexpected token (6:15)
[2022-08-28 16:12:29.581] [ERROR] [TestLocator]: Failed to get tests from spec file /home/paul/git/[...].component.spec.ts: SyntaxError: Unexpected token (10:15)
[2022-08-28 16:12:29.583] [ERROR] [TestLocator]: Failed to get tests from spec file /home/paul/git/[...].component.spec.ts: SyntaxError: Unexpected token (16:15)

I look into the files, but I cant seem to find anything wrong with them.
So I switched back to 0.7.3 and it worked again.

  • OS: WSL: Ubuntu
  • Karma Version: 0.7.4
  • Frameworks: Angular, Jasmine

Jasmine requires pathMapping that isn't being set automatically

Is Your Feature Request related to a Problem? Please Describe

  • Jasmine tests require /base/* URLs be mapped to the project root. Otherwise breakpoints don't work while debugging because the runtime can't find the correct sources.

Describe the Solution You'd Like

  • Considering this extension has other auto-detection happening, this seems like a missing feature. I know I would have saved some time.

Describe Alternatives You've Considered

  • Adding this configuration:
"karmaTestExplorer.debuggerConfig": {
    "name": "Karma Test Explorer Debugging",
    "type": "pwa-chrome",
    "request": "attach",
    "browserAttachLocation": "workspace",
    "address": "localhost",
    "port": 9222,
    "timeout": 60000,
    "webRoot": "${workspaceRoot}",
    "pathMapping": {
      "/base": "${workspaceFolder}",
      "/base/test": "${workspaceFolder}/test",
    },  
  },

Additional Context

  • Add any other context or screenshots about the feature request here.

Yarn PNP support

Hello!

Is there any possibility to implement yarn with pnp support for this plugin? I don't have a node_modules file; instead, my project contains zipped dependencies using the yarn pnp mechanism. For this configuration, this extension will noot work.

If even 1 test fails, tests fail to load Test discovery failed: Process exited with non-zero status code 1 (Click to show log)

Describe the Bug

Test explorer shows red ! with :Error on the sidebar instead of tests when starting VSCode. Popup says Test discovery failed: Process exited with non-zero status code 1 (Click to show log).

I think I see the tests running on the sidebar normally, after a few seconds all the tests disappear and are replaced with the Error.

Steps to Reproduce the Behavior

  1. Have a failing test
  2. Restart VSCode
  3. Check the test explorer sidebar, wait a few seconds
  4. red ! with :Error

Describe the Expected Behavior

The sidebar to show the tests with green and red tests as normal.

Provide Debug Logs

logs

Screenshots

Please Provide the Following Information

  • OS: OSX
  • Environment: (e.g. Dev Container
    with Guest OS and version)
  • Node Version: v16.17.0
  • VS Code Version: 1.72.2
  • Karma Version: 6.4.1
  • Frameworks: Jasmine

Failed to load tests - Karma server failed to connect: Browser Failure - cannot start

Describe the Bug
hi,

I am using Windows Linux Subsystem for develop.

I am having an Angular project with tests. I want to use the extension but the tests are not loaded due to the following issues

image

Here is my karma.config

// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

process.env.CHROME_BIN = require('puppeteer').executablePath();

module.exports = function (config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', '@angular-devkit/build-angular'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-jasmine-html-reporter'),
      require('karma-coverage'),
      require('@angular-devkit/build-angular/plugins/karma'),
      require('karma-teamcity-reporter')
    ],
    client: {
      clearContext: false // leave Jasmine Spec Runner output visible in browser
    },
    coverageReporter: {
      dir: require('path').join(__dirname, './coverage/myproject'),
      reporters: [
        { type: 'html' },
        { type: 'lcovonly' },
        { type: 'text-summary' },
        { type: 'teamcity' },
      ],
      fixWebpackSourcePaths: true
    },
    reporters: ['progress', 'kjhtml', 'teamcity'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    browsers: ['chrome_no_sandbox'],
    customLaunchers: {
      chrome_no_sandbox: {
        base: 'ChromeHeadless',
        flags: [
          '--no-sandbox',
          '--disable-dev-shm-usage',
          '--disable-setuid-sandbox',
          '--disable-gpu',
        ],
      },
    },
    singleRun: true
  });
};

Here is the log

[2023-04-28 14:52:53.699] [DEBUG] [Adapter]: Creating server output channel
[2023-04-28 14:52:53.699] [DEBUG] [Adapter]: Creating port acquisition client
[2023-04-28 14:52:53.699] [DEBUG] [Adapter]: Creating debugger
[2023-04-28 14:52:53.700] [DEBUG] [Adapter]: Creating project commands handler
[2023-04-28 14:52:53.700] [DEBUG] [Commands]: Registering command 'ShowLog' as namespaced command 'karmaTestExplorer.frontend: cirium-profiles:ShowLog
[2023-04-28 14:52:53.700] [DEBUG] [Commands]: Registering command 'Reset' as namespaced command 'karmaTestExplorer.frontend: cirium-profiles:Reset
[2023-04-28 14:52:53.700] [DEBUG] [Adapter]: Creating notifications handler
[2023-04-28 14:52:53.700] [DEBUG] [Adapter]: Creating test emitters
[2023-04-28 14:52:53.707] [DEBUG] [Adapter]: Assembling new test explorer
[2023-04-28 14:52:53.707] [DEBUG] [Adapter]: Re/creating test explorer with extension configuration: {
  "logger": {
    "loggerName": "ExtensionConfig",
    "appender": {
      "outputChannelName": "Karma Test Explorer (frontend: cirium-profiles)",
      "options": {
        "enabled": true,
        "lazyCreate": false
      },
      "outputChannel": {
        "name": "Karma Test Explorer (frontend: cirium-profiles)"
      }
    },
    "logLevel": "debug"
  },
  "projectType": "angular",
  "projectName": "cirium-profiles",
  "projectPath": "/c/Projects/cirium-profiles/src/frontend",
  "projectInstallRootPath": "/c/Projects/cirium-profiles/src/frontend",
  "projectKarmaConfigFilePath": "/c/Projects/cirium-profiles/src/frontend/karma.conf.js",
  "baseKarmaConfFilePath": "/home/ubuntu/.vscode-server/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs",
  "karmaPort": 9976,
  "testTriggerMethod": "http",
  "testParsingMethod": "ast",
  "failOnStandardError": false,
  "defaultSocketConnectionPort": 9999,
  "logLevel": "debug",
  "karmaLogLevel": "info",
  "karmaReporterLogLevel": "disable",
  "autoWatchEnabled": true,
  "karmaReadyTimeout": 900000,
  "testGrouping": "folder",
  "flattenSingleChildFolders": true,
  "environment": {},
  "envExclude": [],
  "reloadOnKarmaConfigChange": true,
  "customLauncher": {
    "base": "Chrome",
    "flags": [
      "--headless",
      "--disable-gpu",
      "--disable-dev-shm-usage",
      "--remote-debugging-port=9222"
    ]
  },
  "testFiles": [
    "**/*{.,-,_}{test,spec}.{ts,js}",
    "**/{test,spec}{.,-,_}*.{ts,js}"
  ],
  "allowGlobalPackageFallback": true,
  "excludeDisabledTests": false,
  "showOnlyFocusedTests": false,
  "showUnmappedTests": true,
  "showTestDefinitionTypeIndicators": true,
  "debuggerConfig": {
    "name": "Karma Test Explorer Debugging",
    "type": "chrome",
    "request": "attach",
    "browserAttachLocation": "workspace",
    "address": "localhost",
    "port": 9222,
    "timeout": 60000,
    "webRoot": "/c/Projects/cirium-profiles/src/frontend"
  },
  "reloadOnChangedFiles": [],
  "defaultDebugPort": 9222,
  "excludeFiles": [
    "**/node_modules/**/*"
  ]
}
[2023-04-28 14:52:53.707] [DEBUG] [Adapter]: Creating main factory
[2023-04-28 14:52:53.707] [DEBUG] [MainFactory]: Detecting test framework from karma config file: /c/Projects/cirium-profiles/src/frontend/karma.conf.js
[2023-04-28 14:52:53.708] [DEBUG] [SimpleFileHandler]: Reading file synchronously: /c/Projects/cirium-profiles/src/frontend/karma.conf.js
[2023-04-28 14:52:53.710] [DEBUG] [MainFactory]: Detected frameworks from karma config: jasmine, @angular-devkit/build-angular
[2023-04-28 14:52:53.710] [DEBUG] [MainFactory]: Detected test framework: jasmine
[2023-04-28 14:52:53.710] [INFO] [MainFactory]: Using test framework: jasmine (auto-detected)
[2023-04-28 14:52:53.710] [DEBUG] [MainFactory]: Creating test helper
[2023-04-28 14:52:53.710] [DEBUG] [MainFactory]: Creating process handler
[2023-04-28 14:52:53.711] [DEBUG] [MainFactory]: Creating test locator
[2023-04-28 14:52:53.711] [DEBUG] [MainFactory]: Creating AST test definition provider
[2023-04-28 14:52:53.712] [DEBUG] [MainFactory]: Creating test store
[2023-04-28 14:52:53.712] [DEBUG] [Adapter]: Getting process handler from factory
[2023-04-28 14:52:53.712] [DEBUG] [Adapter]: Getting test locator from factory
[2023-04-28 14:52:53.712] [DEBUG] [Adapter]: Getting test store from factory
[2023-04-28 14:52:53.712] [DEBUG] [Adapter]: Getting test manager from factory
[2023-04-28 14:52:53.718] [DEBUG] [AngularFactory]: Creating Angular test server executor
[2023-04-28 14:52:53.718] [INFO] [AngularFactory]: Using Angular project 'cirium-profiles' at root path '/c/Projects/cirium-profiles/src/frontend' and karma config file '/c/Projects/cirium-profiles/src/frontend/karma.conf.js'
[2023-04-28 14:52:53.720] [DEBUG] [KarmaFactory]: Creating Karma http test run executor
[2023-04-28 14:52:53.721] [DEBUG] [Adapter]: Getting file watcher from factory
[2023-04-28 14:52:53.721] [DEBUG] [FileWatcher]: Creating file watchers for monitored files
[2023-04-28 14:52:53.722] [DEBUG] [FileWatcher]: Registering file handler for files: [
  "karma.conf.js"
]
[2023-04-28 14:52:53.722] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern 'karma.conf.js' using base path: /c/Projects/cirium-profiles/src/frontend
[2023-04-28 14:52:53.723] [DEBUG] [FileWatcher]: Creating file watchers for test file changes
[2023-04-28 14:52:53.723] [DEBUG] [FileWatcher]: Registering file handler for files: [
  "**/*{.,-,_}{test,spec}.{ts,js}",
  "**/{test,spec}{.,-,_}*.{ts,js}"
]
[2023-04-28 14:52:53.723] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern '**/*{.,-,_}{test,spec}.{ts,js}' using base path: /c/Projects/cirium-profiles/src/frontend
[2023-04-28 14:52:53.723] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern '**/{test,spec}{.,-,_}*.{ts,js}' using base path: /c/Projects/cirium-profiles/src/frontend
[2023-04-28 14:52:53.724] [DEBUG] [Adapter]: Creating test explorer
[2023-04-28 14:52:53.724] [DEBUG] [KarmaTestExplorer]: Test load started
[2023-04-28 14:52:53.724] [DEBUG] [KarmaTestExplorer]: Test hard refresh started
[2023-04-28 14:52:53.725] [DEBUG] [TestLocator]: Refresh requested for all spec file(s): ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-04-28 14:52:53.726] [DEBUG] [TestLocator]: No refresh currently in progress - will commence new refresh for files: ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-04-28 14:52:53.727] [DEBUG] [TestLocator]: Refreshing all spec file(s): ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-04-28 14:52:53.755] [DEBUG] [KarmaTestExplorer]: Refresh request - Test manager is not started - Starting it
[2023-04-28 14:52:53.782] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9976 acquired: 9976
[2023-04-28 14:52:53.783] [INFO] [DefaultTestManager]: Using requested --> available karma port: 9976 --> 9976
[2023-04-28 14:52:53.797] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9999 acquired: 9999
[2023-04-28 14:52:53.798] [INFO] [DefaultTestManager]: Using requested --> available karma listener socket port: 9999 --> 9999
[2023-04-28 14:52:53.808] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9222 acquired: 9222
[2023-04-28 14:52:53.810] [INFO] [DefaultTestManager]: Using requested --> available debug port: 9222 --> 9222
[2023-04-28 14:52:53.811] [DEBUG] [KarmaTestListener]: Attempting to listen on port 9999
[2023-04-28 14:52:53.820] [INFO] [KarmaTestServer]: Starting karma server
[2023-04-28 14:52:53.821] [DEBUG] [AngularTestServerExecutor]: Executing server start with karma port '9976' and karma socket port '9999'
[2023-04-28 14:52:53.830] [DEBUG] [AngularTestServerExecutor]: Found '@angular/cli' module at: /c/Projects/cirium-profiles/src/frontend/node_modules/@angular/cli
[2023-04-28 14:52:53.833] [DEBUG] [AngularTestServerExecutor::SimpleProcess]: Process 22ynlywnbur: 
Executing command: '/home/ubuntu/.nodenv/shims/node' 
with args: ["/c/Projects/cirium-profiles/src/frontend/node_modules/@angular/cli/bin/ng","test","cirium-profiles","--karma-config=/home/ubuntu/.vscode-server/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs","--progress=false","--no-watch"]
[2023-04-28 14:52:54.021] [DEBUG] [AngularTestServerExecutor::SimpleProcess]: Process 22ynlywnbur - process spawned successfully with PID 21565 for command: /home/ubuntu/.nodenv/shims/node /c/Projects/cirium-profiles/src/frontend/node_modules/@angular/cli/bin/ng test cirium-profiles --karma-config=/home/ubuntu/.vscode-server/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs --progress=false --no-watch
[2023-04-28 14:52:54.033] [INFO] [KarmaTestListener]: Waiting for Karma to connect on port 9999
[2023-04-28 14:53:01.987] [DEBUG] [SimpleFileHandler]: Resolved 45 file(s) from file patterns: ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-04-28 14:53:01.989] [DEBUG] [TestLocator]: Requested --> filtered file count to refresh: 45 --> 45
[2023-04-28 14:53:01.989] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/app-config.service.spec.ts
[2023-04-28 14:53:02.036] [DEBUG] [AstTestFileParser]: Parse operation sz867vnqogc: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/app-config.service.spec.ts' in 0.04 secs
[2023-04-28 14:53:02.036] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/app-user.service.spec.ts
[2023-04-28 14:53:02.063] [DEBUG] [AstTestFileParser]: Parse operation 0tflee74mb4a: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/app-user.service.spec.ts' in 0.03 secs
[2023-04-28 14:53:02.063] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/app.component.spec.ts
[2023-04-28 14:53:02.094] [DEBUG] [AstTestFileParser]: Parse operation 7ylaibmw07: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/app.component.spec.ts' in 0.02 secs
[2023-04-28 14:53:02.094] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/script-injector-service.spec.ts
[2023-04-28 14:53:02.111] [DEBUG] [AstTestFileParser]: Parse operation xkczgl4wdf: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/script-injector-service.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.111] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/helpers/browserHelpers.spec.ts
[2023-04-28 14:53:02.127] [DEBUG] [AstTestFileParser]: Parse operation 75fyhodfx55: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/helpers/browserHelpers.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.128] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/helpers/functionalHelpers.spec.ts
[2023-04-28 14:53:02.178] [DEBUG] [AstTestFileParser]: Parse operation 4gerfftp4ip: Parsed 18 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/helpers/functionalHelpers.spec.ts' in 0.05 secs
[2023-04-28 14:53:02.178] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/helpers/profilesHelpers.spec.ts
[2023-04-28 14:53:02.212] [DEBUG] [AstTestFileParser]: Parse operation 3qbddkot7jv: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/helpers/profilesHelpers.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.212] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/helpers/aircraftRoutesHelpers.spec.ts
[2023-04-28 14:53:02.219] [DEBUG] [AstTestFileParser]: Parse operation lmk1repmyvi: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/helpers/aircraftRoutesHelpers.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.219] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/helpers/newsHelpers.spec.ts
[2023-04-28 14:53:02.235] [DEBUG] [AstTestFileParser]: Parse operation 9p64y56rcw: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/helpers/newsHelpers.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.235] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/analytics/analytics-service.spec.ts
[2023-04-28 14:53:02.246] [DEBUG] [AstTestFileParser]: Parse operation p0kna1grnm: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/analytics/analytics-service.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.247] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/services/news-shared-data.service.spec.ts
[2023-04-28 14:53:02.277] [DEBUG] [AstTestFileParser]: Parse operation i5k5tg0r2s: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/services/news-shared-data.service.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.277] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/services/profiles-excel-data-service.spec.ts
[2023-04-28 14:53:02.308] [DEBUG] [AstTestFileParser]: Parse operation lrq9xlf8d69: Parsed 6 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/services/profiles-excel-data-service.spec.ts' in 0.02 secs
[2023-04-28 14:53:02.308] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/services/profiles-preferences-service.spec.ts
[2023-04-28 14:53:02.326] [DEBUG] [AstTestFileParser]: Parse operation 7ikx5hq7xq: Parsed 12 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/services/profiles-preferences-service.spec.ts' in 0.02 secs
[2023-04-28 14:53:02.326] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-metric-toggle/aircraft-routes-metric-toggle.component.spec.ts
[2023-04-28 14:53:02.330] [DEBUG] [AstTestFileParser]: Parse operation kyrqwyqpox: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-metric-toggle/aircraft-routes-metric-toggle.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.330] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-metrics/aircraft-routes-metrics.component.spec.ts
[2023-04-28 14:53:02.332] [DEBUG] [AstTestFileParser]: Parse operation szq2izk6di8: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/aircraft-routes/components/aircraft-routes-metrics/aircraft-routes-metrics.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.332] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-chart/ground-events-chart.component.spec.ts
[2023-04-28 14:53:02.356] [DEBUG] [AstTestFileParser]: Parse operation ebxiee8so4r: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-chart/ground-events-chart.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.356] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-grouping/ground-events-grouping.component.spec.ts
[2023-04-28 14:53:02.361] [DEBUG] [AstTestFileParser]: Parse operation c5zummzt7h9: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-grouping/ground-events-grouping.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.361] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-shortcuts/home-shortcuts.component.spec.ts
[2023-04-28 14:53:02.365] [DEBUG] [AstTestFileParser]: Parse operation 73egbtpkg5r: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-shortcuts/home-shortcuts.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.365] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-tab/ground-events-tab.component.spec.ts
[2023-04-28 14:53:02.368] [DEBUG] [AstTestFileParser]: Parse operation zu23fnxlxvo: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/ground-events/components/ground-events-tab/ground-events-tab.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.368] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-tab/home-tab.component.spec.ts
[2023-04-28 14:53:02.370] [DEBUG] [AstTestFileParser]: Parse operation jjl6pki8d8: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-tab/home-tab.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.370] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-table/home-table.component.spec.ts
[2023-04-28 14:53:02.378] [DEBUG] [AstTestFileParser]: Parse operation 6shnfjnzy4: Parsed 8 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/home/components/home-table/home-table.component.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.378] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-details-table/fleet-details-table.component.spec.ts
[2023-04-28 14:53:02.390] [DEBUG] [AstTestFileParser]: Parse operation mjj2uvbmzb: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-details-table/fleet-details-table.component.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.390] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-details-table/fleet-details-table.service.spec.ts
[2023-04-28 14:53:02.419] [DEBUG] [AstTestFileParser]: Parse operation s7dworyxm9: Parsed 10 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-details-table/fleet-details-table.service.spec.ts' in 0.03 secs
[2023-04-28 14:53:02.419] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-grouping/fleet-grouping.component.spec.ts
[2023-04-28 14:53:02.422] [DEBUG] [AstTestFileParser]: Parse operation z0z84e25d5d: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-grouping/fleet-grouping.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.422] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-jitter-chart/fleet-jitter-chart.service.spec.ts
[2023-04-28 14:53:02.438] [DEBUG] [AstTestFileParser]: Parse operation 64eyt3kga66: Parsed 6 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-jitter-chart/fleet-jitter-chart.service.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.438] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar-age.service.spec.ts
[2023-04-28 14:53:02.442] [DEBUG] [AstTestFileParser]: Parse operation o9s9c1v5su: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar-age.service.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.442] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar.component.spec.ts
[2023-04-28 14:53:02.448] [DEBUG] [AstTestFileParser]: Parse operation 6ehwnomxoj3: Parsed 2 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar.component.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.448] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar.service.spec.ts
[2023-04-28 14:53:02.456] [DEBUG] [AstTestFileParser]: Parse operation ocqadjabpl: Parsed 4 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-progress-bar/fleet-progress-bar.service.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.456] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-stacked-bar-chart/fleet-stacked-bar-chart.service.spec.ts
[2023-04-28 14:53:02.485] [DEBUG] [AstTestFileParser]: Parse operation a24b2qqzvf: Parsed 10 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-stacked-bar-chart/fleet-stacked-bar-chart.service.spec.ts' in 0.02 secs
[2023-04-28 14:53:02.485] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-summary-counts/fleet-summary-counts.component.spec.ts
[2023-04-28 14:53:02.493] [DEBUG] [AstTestFileParser]: Parse operation 4f9jslv7uif: Parsed 8 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-summary-counts/fleet-summary-counts.component.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.494] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-article/news-article.component.spec.ts
[2023-04-28 14:53:02.503] [DEBUG] [AstTestFileParser]: Parse operation odycq0fwgi: Parsed 4 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-article/news-article.component.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.503] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-age-table.service.spec.ts
[2023-04-28 14:53:02.505] [DEBUG] [AstTestFileParser]: Parse operation cqjeuakdqf: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-age-table.service.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.505] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-table.component.spec.ts
[2023-04-28 14:53:02.509] [DEBUG] [AstTestFileParser]: Parse operation 5js3sdauqvq: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-table.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.509] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-table.service.spec.ts
[2023-04-28 14:53:02.519] [DEBUG] [AstTestFileParser]: Parse operation sj70tmur9dp: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/fleets/components/fleet-table/fleet-table.service.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.519] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-articles/news-articles.component.spec.ts
[2023-04-28 14:53:02.525] [DEBUG] [AstTestFileParser]: Parse operation 21exhmrqynb: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-articles/news-articles.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.525] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-tab/news-tab.component.spec.ts
[2023-04-28 14:53:02.527] [DEBUG] [AstTestFileParser]: Parse operation dazn2of7cf: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/news/components/news-tab/news-tab.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.527] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-header/profiles-header.component.spec.ts
[2023-04-28 14:53:02.532] [DEBUG] [AstTestFileParser]: Parse operation 1lugfcv117g: Parsed 3 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-header/profiles-header.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.532] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/displayed-filter-options.pipe.spec.ts
[2023-04-28 14:53:02.539] [DEBUG] [AstTestFileParser]: Parse operation aoo63woqf9c: Parsed 5 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/displayed-filter-options.pipe.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.539] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/profiles-filter.component.spec.ts
[2023-04-28 14:53:02.542] [DEBUG] [AstTestFileParser]: Parse operation u8v4xybr2pq: Parsed 6 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/profiles-filter.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.542] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/profiles-filter.service.spec.ts
[2023-04-28 14:53:02.569] [DEBUG] [AstTestFileParser]: Parse operation 9lz4fr9nbsv: Parsed 15 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-filter/profiles-filter.service.spec.ts' in 0.03 secs
[2023-04-28 14:53:02.569] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-loading/profiles-loading.component.spec.ts
[2023-04-28 14:53:02.580] [DEBUG] [AstTestFileParser]: Parse operation lnvcyrnq4a9: Parsed 5 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-loading/profiles-loading.component.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.580] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-notice/profiles-notice.component.spec.ts
[2023-04-28 14:53:02.582] [DEBUG] [AstTestFileParser]: Parse operation kw1gjckg1n9: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-notice/profiles-notice.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.582] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-organization-picker/profiles-organization-picker.component.spec.ts
[2023-04-28 14:53:02.601] [DEBUG] [AstTestFileParser]: Parse operation 4laaft0eyjw: Parsed 10 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-organization-picker/profiles-organization-picker.component.spec.ts' in 0.02 secs
[2023-04-28 14:53:02.602] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-preferences/profiles-preferences.component.spec.ts
[2023-04-28 14:53:02.608] [DEBUG] [AstTestFileParser]: Parse operation dbixippgbyc: Parsed 5 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-preferences/profiles-preferences.component.spec.ts' in 0.01 secs
[2023-04-28 14:53:02.608] [DEBUG] [SimpleFileHandler]: Reading file async: /c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-not-found/profiles-not-found.component.spec.ts
[2023-04-28 14:53:02.610] [DEBUG] [AstTestFileParser]: Parse operation jj4brfqhdlm: Parsed 1 total tests from file '/c/Projects/cirium-profiles/src/frontend/src/app/modules/shared/components/profiles-not-found/profiles-not-found.component.spec.ts' in 0.00 secs
[2023-04-28 14:53:02.610] [DEBUG] [TestLocator]: Refreshed 45 spec files from glob list in 8.88 secs: ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2023-04-28 14:53:17.016] [INFO] [KarmaTestListener]: Established new connection with Karma on port 9999
[2023-04-28 14:53:17.016] [DEBUG] [KarmaTestListener]: Listening for Karma events
[2023-04-28 14:53:17.060] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: file_list_modified
[2023-04-28 14:53:17.331] [DEBUG] [KarmaTestRunProcessor]: Karma server on karma port 9976 is ready for requests
[2023-04-28 14:53:29.910] [ERROR] [KarmaTestRunProcessor]: Failure while listening for test events: Browser Failure - cannot start
[2023-04-28 14:53:29.910] [DEBUG] [KarmaTestRunProcessor]: Test error processing requested with message: Browser Failure - cannot start
[2023-04-28 14:53:29.911] [DEBUG] [KarmaTestListener]: Closing connection with karma
[2023-04-28 14:53:29.911] [DEBUG] [KarmaTestListener]: Cleaning up connections
[2023-04-28 14:53:29.913] [DEBUG] [PortAcquisitionClient]: Releasing ports: 9999
[2023-04-28 14:53:29.914] [ERROR] [DefaultTestManager]: System component terminated with message: Karma server failed to connect: Browser Failure - cannot start
[2023-04-28 14:53:29.914] [DEBUG] [DefaultTestManager]: Test action in progress (System stop was not requested) - Initiating system stop
[2023-04-28 14:53:29.914] [DEBUG] [DefaultTestManager]: Stopping test manager
[2023-04-28 14:53:29.915] [DEBUG] [DefaultTestManager]: Stopping karma event listener
[2023-04-28 14:53:29.915] [DEBUG] [KarmaTestListener]: Request to stop karma listener - Listener is still stopping
[2023-04-28 14:53:29.915] [ERROR] [DefaultTestManager]: Error: Karma server failed to connect: Browser Failure - cannot start
[2023-04-28 14:53:29.915] [DEBUG] [DefaultTestManager]: Stopping test manager
[2023-04-28 14:53:29.916] [DEBUG] [DefaultTestManager]: Stopping karma event listener
[2023-04-28 14:53:29.916] [DEBUG] [KarmaTestListener]: Request to stop karma listener - Listener is still stopping
[2023-04-28 14:53:29.916] [ERROR] [KarmaTestExplorer]: Failed to load tests - Karma server failed to connect: Browser Failure - cannot start
[2023-04-28 14:53:29.916] [DEBUG] [NotificationHandler]: Showing 'Error' notification with actions 'Retry Test Load' and message: Failed to load tests - Karma server failed to connect: Browser Failure - cannot start
[2023-04-28 14:53:29.916] [DEBUG] [KarmaTestExplorer]: Updating loaded test store
[2023-04-28 14:53:29.916] [DEBUG] [KarmaTestExplorer]: Clearing loaded root suite
[2023-04-28 14:53:29.916] [DEBUG] [TestStore]: Clearing stored tests
[2023-04-28 14:53:29.918] [INFO] [KarmaTestExplorer]: Finished loading tests in 36.19 secs (Failed)
[2023-04-28 14:53:29.931] [DEBUG] [KarmaTestListener]: Karma connection closed on port 9999
[2023-04-28 14:53:29.932] [DEBUG] [KarmaTestListener]: Done closing karma listener connection
[2023-04-28 14:53:29.932] [DEBUG] [DefaultTestManager]: Stopping karma server
[2023-04-28 14:53:29.932] [INFO] [KarmaTestServer]: Killing Karma server on port 9976
[2023-04-28 14:53:29.933] [DEBUG] [AngularTestServerExecutor::SimpleProcess]: Process 22ynlywnbur - Killing process tree of PID: 21565
[2023-04-28 14:53:30.034] [DEBUG] [DefaultTestManager]: Karma server is already stopped
[2023-04-28 14:53:30.034] [DEBUG] [DefaultTestManager]: Stopped test manager
[2023-04-28 14:53:30.061] [DEBUG] [AngularTestServerExecutor::SimpleProcess]: Process 22ynlywnbur - Successfully killed process tree for PID: 21565
[2023-04-28 14:53:30.080] [DEBUG] [AngularTestServerExecutor::SimpleProcess]: Process 22ynlywnbur - PID 21565 exited with code 'null' and signal 'SIGKILL' for command: /home/ubuntu/.nodenv/shims/node /c/Projects/cirium-profiles/src/frontend/node_modules/@angular/cli/bin/ng test cirium-profiles --karma-config=/home/ubuntu/.vscode-server/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs --progress=false --no-watch
[2023-04-28 14:53:30.080] [DEBUG] [KarmaTestServer]: Karma server process terminated
[2023-04-28 14:53:30.081] [DEBUG] [PortAcquisitionClient]: Releasing ports: 9976
[2023-04-28 14:53:30.081] [DEBUG] [PortAcquisitionClient]: Releasing ports: 9222
[2023-04-28 14:53:30.081] [DEBUG] [KarmaTestServer]: Karma server on port 9976 killed
[2023-04-28 14:53:30.081] [DEBUG] [DefaultTestManager]: Stopped test manager
[2023-04-28 14:53:30.081] [DEBUG] [DefaultTestManager]: System is done stopping
[2023-04-28 14:54:26.056] [DEBUG] [NotificationHandler]: User selected 'Show Log' for 'Error' notification: Failed to load tests - Karma server failed to connect: Browser Failure - cannot start (Click to show log)

Here is the details environment:

  • OS and Version: WSL
  • Environment: WSL
  • Node Version: 16.14.0
  • VS Code Version:
  • Karma Version:
  • Browser and Version:
  • Frameworks: Angular, Jasmine
  • Angular Version (if using Angular):

I am new to the Karma as well as Angular so could you support me?

Thank you

Getting error Failed to load tests - Karma server failed to start: spawn npx karma ENOENT

Describe the Bug

  • When loading the Test Runner I get the error Failed to load tests - Karma server failed to start: spawn npx karma ENOENT

Steps to Reproduce the Behavior

This appears to be a machine config issue. Other developers working on the same project are using this extension correctly. We have a case where one machine is not displaying any tests in the Test Explorer. The following error is found in the Karma Test Explorer ({project name}) output.

[2023-01-26 18:34:28.015] [ERROR] [KarmaCommandLineTestServerExecutor::SimpleProcess]: Process gsmk4wyqh5 - Error from child process: 'Error: spawn npx karma ENOENT' - for command: npx karma start /home/dscott/.vscode/extensions/lucono.karma-test-explorer-0.8.0/dist/karma.conf --no-single-run

Describe the Expected Behavior

  • Test should be displayed in the Test Explorer

Provide Debug Logs

  • With the karmaTestExplorer.logLevel set to debug, please capture and attach the logs from all the Karma Test Explorer Output channels when the issue occurs.

KarmaTestExplorer-singularity.txt
KarmaTestExplorer-workspace.txt

Please also capture and attach the logs from all the Karma Server Output channels when the issue occurs.

It just has

------------------------------------
Karma Test Explorer: Launching Karma
------------------------------------

Provide a Minimal Reproduction Project

  • In a public github repo, create a minimal project that reproduces the issue
  • Provide a link to the project

Not available

Screenshots

  • If applicable, add screenshots to help explain the issue you are having.

Please Provide the Following Information

  • OS: Ubuntu 22.04
  • Environment: n/a
  • Node Version: 14.2.0
  • VS Code Version: 1.74.3
  • Karma Version: 6.4.1
  • Frameworks: AngularJS/Angular Hybrid, Jasmine

Additional Context
Running the command that the log says errored
npx karma start /home/dscott/.vscode/extensions/lucono.karma-test-explorer-0.8.0/dist/karma.conf --no-single-run

returns

26 01 2023 13:53:23.282:ERROR [config]: Error in config file!
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
   at new NodeError (internal/errors.js:322:7)
   at validateString (internal/validators.js:124:11)
   at Object.join (path.js:1148:7)
   at Kt.default (/home/dscott/.vscode/extensions/lucono.karma-test-explorer-0.8.0/dist/karma.conf.js:2:110773)
   at gt.loadOriginalConfig (/home/dscott/.vscode/extensions/lucono.karma-test-explorer-0.8.0/dist/karma.conf.js:2:111452)
   at gt.loadConfig (/home/dscott/.vscode/extensions/lucono.karma-test-explorer-0.8.0/dist/karma.conf.js:2:111309)
   at module.exports (/home/dscott/.vscode/extensions/lucono.karma-test-explorer-0.8.0/dist/karma.conf.js:2:114463)
   at Object.parseConfig (/home/dscott/src/singularity/node_modules/karma/lib/config.js:470:26)
   at Object.exports.run (/home/dscott/src/singularity/node_modules/karma/lib/cli.js:288:26)
   at Object.<anonymous> (/home/dscott/src/singularity/node_modules/karma/bin/karma:3:23)
   at Module._compile (internal/modules/cjs/loader.js:1085:14)
   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
   at Module.load (internal/modules/cjs/loader.js:950:32)
   at Function.Module._load (internal/modules/cjs/loader.js:790:12)
   at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
   at /home/dscott/.nvm/versions/node/v14.20.0/lib/node_modules/npm/node_modules/libnpx/index.js:268:14 {
 code: 'ERR_INVALID_ARG_TYPE'
}
  • Add any other context about the problem here.

Support different browsers when using multiple projects

Is Your Feature Request related to a Problem? Please Describe

I have an Angular project with three sub-projects that each have their own karma config file and currently use different custom launchers: two use chrome, one uses electron. As the electron project won't run in the chrome environment, I need to run them all in electron. This means I need to have the karma-electron plugin imported into the other two project's karma config files.

Describe the Solution You'd Like

It would be great if instead of using a global default custom launcher the launcher configuration from the karma config could be respected, assuming no custom browser or launcher is specified in the extension settings. There already appears to be some config merging happening for each project as I need to define the plugin in each of them. Could the custom launchers list be maintained, or used as the basis for the default launcher if not being overriden by settings?

Describe Alternatives You've Considered

An alternative approach I considered was being able to specify a custom launcher configuration for each project in the extension settings. This could be added to the existing customLauncher property by supporting a default and allowing project specific overrides, something like:

"karmaTestExplorer.customLauncher": {
  "base": "Chrome",
  "key": "value",
  "project3": {
    "base": "Electron",
    "key": "value"
  }
}

Or by using a new projectLauncher key in addition to the existing configurations:

"karmaTestExplorer.browser": "Chrome",
"karmaTestExplorer.projectLauncher": {
  "project3": {
    "base": "Electron",
    "key": "value"
  }
}

I'd even be happy having to specify all three projects directly, but figured the hybrid approach would be easy enough to implement.

Another alternative could be to allow defining additional plugin imports, so that modifications don't need to be made to each project file, but that's a less nice approach as it still results in different environments for the test runner vs the CLI.

Additional Context

I had some issues getting the electron browser environment working, but I've added context to that in #52 as it's a separate issue.

Unable to install extension

I am unable to install the extension either via VS Code, or by downloading the VSIX manually from the marketplace. The error returned is
CorruptZip: end of central directory record signature not found

A colleague has tried on a different PC in a different location and has the same same issue

Tests not loaded for new Angular projects from ng new

Describe the Bug

running ng new and pointing vscode to folder no tests show. Also any debugging levels are ignored.

Steps to Reproduce the Behavior

  1. ng new app
  2. add routing
  3. css
  4. open vscode to folder.
    Describe the Expected Behavior
  • expected tests to show up..

Provide Debug Logs

  • With the karmaTestExplorer.logLevel set to debug, please capture and attach the logs from the Karma Test Explorer Output chanel when the issue occurs.
  • Please also capture and attach the logs from the Karma Server Output channel when the issue occurs.
[2022-07-26 19:02:04.424] [DEBUG] [Main]: Reloading workspace 'C:/work/angular/pdm' due to changed settings: ["projects"]
[2022-07-26 19:02:04.424] [DEBUG] [ProjectFactory]: Inspecting workspace folder for testing: c:\work\angular\pdm
[2022-07-26 19:02:04.425] [DEBUG] [ProjectFactory]: Excluding projects in workspace folder 'C:/work/angular/pdm' - 'karmaTestExplorer.enableExtension' is set to false
[2022-07-26 19:02:04.425] [DEBUG] [ProjectFactory]: Excluding projects in workspace folder - None of the inclusion conditions were satisfied: C:/work/angular/pdm

Screenshots

  • If applicable, add screenshots to help explain the issue you are having.

Please Provide the Following Information

  • OS: Windows
  • Environment: local install
  • Node Version: (e.g. 14.x)
  • VS Code Version:
  • Version: 1.69.2 (user setup)
    Commit: 3b889b090b5ad5793f524b5d1d39fda662b96a2a
    Date: 2022-07-18T16:12:52.460Z
    Electron: 18.3.5
    Chromium: 100.0.4896.160
    Node.js: 18.6.0
    V8: 10.0.139.17-electron.0
    OS: Windows_NT x64 10.0.19044
  • Karma Version:6.4.0
  • Frameworks: jasmine

Additional Context

{
  "name": "pdm",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "watch": "ng build --watch --configuration development",
    "test": "ng test"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^14.1.0",
    "@angular/common": "^14.1.0",
    "@angular/compiler": "^14.1.0",
    "@angular/core": "^14.1.0",
    "@angular/forms": "^14.1.0",
    "@angular/platform-browser": "^14.1.0",
    "@angular/platform-browser-dynamic": "^14.1.0",
    "@angular/router": "^14.1.0",
    "rxjs": "~7.5.0",
    "tslib": "^2.3.0",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^14.1.0",
    "@angular/cli": "~14.1.0",
    "@angular/compiler-cli": "^14.1.0",
    "@types/jasmine": "~4.0.0",
    "eslint": "^8.20.0",
    "jasmine-core": "~4.2.0",
    "karma": "~6.4.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage": "~2.2.0",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.0.0",
    "typescript": "~4.7.2"
  }
}
/* eslint-disable no-undef */
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

module.exports = function (config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', '@angular-devkit/build-angular'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-jasmine-html-reporter'),
      require('karma-coverage'),
      require('@angular-devkit/build-angular/plugins/karma')
    ],
    client: {
      jasmine: {
        // you can add configuration options for Jasmine here
        // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
        // for example, you can disable the random execution with `random: false`
        // or set a specific seed with `seed: 4321`
      },
      clearContext: false // leave Jasmine Spec Runner output visible in browser
    },
    jasmineHtmlReporter: {
      suppressAll: true // removes the duplicated traces
    },
    coverageReporter: {
      dir: require('path').join(__dirname, './coverage/pdm'),
      subdir: '.',
      reporters: [
        { type: 'html' },
        { type: 'text-summary' }
      ]
    },
    reporters: ['progress', 'kjhtml'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    browsers: ['Chrome'],
    singleRun: false,
    restartOnFileChange: true
  });
};

Unmapped Tests for Config Initializer

Describe the Bug
When I create a config initalizer it shows up as unmapped test

  • A clear and concise description of what the bug is.

import { ConfigService } from './config.service'

export const ConfigServiceInitializer = (configService: ConfigService) => {
  return (): Promise<boolean> => {
    return new Promise<boolean>(
      (resolve: (result: boolean) => void, reject: (result: boolean) => void) => {
        configService.load().subscribe({
          next: () => {
            resolve(true)
          },
          error: (error) => reject(error),
        })
      },
    )
  }
}

And the test

import { TestBed, waitForAsync } from '@angular/core/testing'
import { of } from 'rxjs'
import { tap } from 'rxjs/operators'
import { ConfigModule, ConfigService, ConfigServiceInitializer } from '.'
import { HttpClientModule } from '@angular/common/http'
import { HttpClientTestingModule } from '@angular/common/http/testing'

describe('ConfigServiceInitializer', () => {
  const mockedConfigService: any = jasmine.createSpyObj('ConfigService', ['load'])

  let configService: ConfigService

  beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [HttpClientModule, ConfigModule, HttpClientTestingModule],
    })
    configService = TestBed.inject(ConfigService)
  })

  it(
    'should resolve the promise',
    waitForAsync(() => {
      mockedConfigService.load.and.returnValue(of({}))
      ConfigServiceInitializer(configService)().then((status) => {
        expect(status).toBe(true)
      })
    }),
  )

  it(
    'should reject the promise',
    waitForAsync(() => {
      mockedConfigService.load.and.returnValue(
        of({}).pipe(
          tap(() => {
            throw Error('failure')
          }),
        ),
      )
      ConfigServiceInitializer(configService)().then(
        () => {},
        (error) => {
          expect(error.message).toEqual('failure')
        },
      )
    }),
  )
})

Steps to Reproduce the Behavior

  1. Create an Angular project v13.0.4
  2. Create an initializer (config.service.initializer.ts)
  3. Create test (config.service.initializer.spec.ts)
    4.Go to Test Explorer

Describe the Expected Behavior
Test should show up under ConfigService

Provide Debug Logs
Attached
KarmaExplorer.log

Screenshots
Attached
bug_karma

Please Provide the Following Information

  • OS: Ubuntu
  • Environment: Local VS Code
  • Node Version: 12.22.5
  • VSCode Version: 1.63.0
  • Karma Version: 6.3
  • Frameworks: Angular 13.0.4

Additional Context
Thought it might be the x.x.spec.ts so renamed and made not difference. Created a class in the same directory worked fine.

Cannot debug, if the project name contains a namespace at package.json

I encountered an issue when my package.json looked like this:

{
	"name": "@company/canvas-helper",
	"author": "...",
	"version": "1.0.3",
	"main": "lib/index.js",
	"types": "lib/index.d.ts",
	"scripts": {
		"build": "tsc --project tsconfig.prod.json",
		"test": "karma start karma.config.js"
	},
	"devDependencies": {
		"@types/jasmine": "^4.0.3",
		"coverage-istanbul-loader": "^3.0.5",
		"istanbul-instrumenter-loader": "^2.0.0",
		"karma": "^6.4.0",
		"karma-chrome-launcher": "^3.1.1",
		"karma-coverage-istanbul-reporter": "^3.0.3",
		"karma-jasmine": "^5.1.0",
		"karma-junit-reporter": "^2.0.1",
		"karma-sourcemap-loader": "^0.3.8",
		"karma-webpack": "^5.0.0",
		"ts-loader": "^9.2.6",
		"ts-node": "^10.4.0",
		"typescript": "^4.5.5",
		"webpack": "^5.68.0"
	},
	"files": [
		"lib/**/*",
		"types/**/*"
	]
}

It will not attach the debugger. The output console looks like this:

[2022-07-06 17:05:42.970] [INFO] [Adapter]: Debug test run started
[2022-07-06 17:05:43.738] [INFO] [Adapter]:  Debug test run finished in 0.77 secs
[2022-07-06 17:05:44.336] [INFO] [Debugger]: Debug session 'Karma Test Explorer Debugging' has ended

But if I change the name to just canvas-helper it starts working

Expected Behavior:

I would like to use npm namespaces for the package name, and being able to debug the tests

multiple angular projects

we work in a mono repo (https://blog.nrwl.io/angular/home) so we have multiple angular projects. how do we switch between projects in this extension? i know there is an extension setting for the "Default Angular Project Name" but is there a more dynamic way to switch between projects?

Karma server fails to launch when user profile has space in name (Windows)

Describe the Bug

The Karma Test Explorer extension reports an error starting the Karma Server. This prevents any tests from displaying in VScode.

Steps to Reproduce the Behavior

  1. Install the Karma Test Explorer extension
  2. Open a project (e.g., I used https://github.com/dmitriz/min-karma) in VSCode
  3. See error

Describe the Expected Behavior

  • Ideally the karma server launches and runs 😁

Debug Logs

karma-server.log
karma-test-explorer.log

Please Provide the Following Information

  • OS: Windows 10
  • Environment: Windows, node 14.16.0, karma 5.0.0, jasmine 3.5.0
  • Version v0.2.1

The setting: karmaProcessCommand

Describe the Bug
I've tried running a few commands eg:
npm run something node_modules/.bin/gulp start node test.js and I've always received a message: 'Extension host terminated unexpectedly.'

[exthost] [info] ExtensionService#_doActivateExtension hbenl.vscode-test-explorer, startup: false, activationEvent: 'onLanguage:javascript', root cause: lucono.karma-test-explorer

Error in the developer tools

%c[Error: Attempt to end execution before starting it%c at rf.end (\.vscode\extensions\lucono.karma-test-explorer-0.5.0\dist\main.js:5122:28)%c	at Server.<anonymous> (\.vscode\extensions\lucono.karma-test-explorer-0.5.0\dist\main.js:31164:174)%c at Server.emit (events.js:327:22)%c at emitCloseNT (net.js:1659:8)%c at processTicksAndRejections (internal/process/task_queues.js:79:21)]

Steps to Reproduce the Behavior

  1. Add e.g. "karmaTestExplorer.karmaProcessCommand":"node test.js" to the VSC settings in the project
  2. Start plugin.

Describe the Expected Behavior
First run the commend form the setting, then start Karma.

Screenshot
Przechwytywanie

System info

  • OS: Windows 10
  • Node Version: 16.13.0
  • VSCode Version: 1.64.2
  • Karma Version: 6.3.11

Test Explorer not showing all tests when sharding tests

Describe the Bug

I just installed karma-parallel in my project to launch tests in parallel. When I launch more than one executor the tests are split in several browsers, but in the test explorer I can only see the tests that are launched in one of the browsers. In the output I can see that there are tests with id=specN where N is a number from 0 to N for each of the browsers that have been skipped.

Steps to Reproduce the Behavior

  1. Have an Angular project with tests that works properly
  2. Install karma-parallel
  3. Execute the tests in more than one executor.
  4. Se how the test explorer does not show all the tests.

Describe the Expected Behavior

The test explorer should show all tests even if they are in different browsers, as it does if you run the tests with "ng test".

Provide Debug Logs

***Karma Test Explorer:

[2023-01-30 12:15:35.694] [INFO] [MainFactory]: Using test framework: jasmine (auto-detected)
[2023-01-30 12:15:35.890] [INFO] [DefaultTestManager]: Using requested --> available karma port: 9976 --> 9976
[2023-01-30 12:15:35.892] [INFO] [DefaultTestManager]: Using requested --> available karma listener socket port: 9999 --> 9999
[2023-01-30 12:15:35.900] [INFO] [KarmaTestServer]: Starting karma server
[2023-01-30 12:15:35.958] [INFO] [KarmaTestListener]: Waiting for Karma to connect on port 9999
[2023-01-30 12:16:03.714] [INFO] [KarmaTestListener]: Established new connection with Karma on port 9999
[2023-01-30 12:16:07.005] [INFO] [DefaultTestManager]: Discovering tests
[2023-01-30 12:16:11.137] [WARN] [KarmaTestEventProcessor]: Ignoring duplicate result for already processed test result. Processed test: id='spec0', status='Skipped'. Duplicate test: id='spec0', status='Skipped'
[2023-01-30 12:16:11.251] [WARN] [KarmaTestEventProcessor]: Ignoring duplicate result for already processed test result. Processed test: id='spec1', status='Skipped'. Duplicate test: id='spec1', status='Skipped'
[2023-01-30 12:16:11.252] [WARN] [KarmaTestEventProcessor]: Ignoring duplicate result for already processed test result. Processed test: id='spec0', status='Skipped'. Duplicate test: id='spec0', status='Skipped'
[2023-01-30 12:16:11.278] [WARN] [KarmaTestEventProcessor]: Ignoring duplicate result for already processed test result. Processed test: id='spec2', status='Skipped'. Duplicate test: id='spec2', status='Skipped'
[2023-01-30 12:16:11.341] [WARN] [KarmaTestEventProcessor]: Ignoring duplicate result for already processed test result. Processed test: id='spec3', status='Skipped'. Duplicate test: id='spec3', status='Skipped'
[2023-01-30 12:16:11.344] [WARN] [KarmaTestEventProcessor]: Ignoring duplicate result for already processed test result. Processed test: id='spec2', status='Skipped'. Duplicate test: id='spec2', status='Skipped'
[2023-01-30 12:16:11.350] [WARN] [KarmaTestEventProcessor]: Ignoring duplicate result for already processed test result. Processed test: id='spec1', status='Skipped'. Duplicate test: id='spec1', status='Skipped'
[2023-01-30 12:16:11.373] [WARN] [KarmaTestEventProcessor]: Ignoring duplicate result for already processed test result. Processed test: id='spec0', status='Skipped'. Duplicate test: id='spec0', status='Skipped'
[2023-01-30 12:16:11.407] [INFO] [KarmaTestExplorer]: Finished loading tests in 35.70 secs (13 tests loaded)

***Karma Server:

------------------------------------
Karma Test Explorer: Launching Karma
------------------------------------

30 01 2023 13:15:43.432:INFO [framework:karma-parallel]: sharding specs across 4 browsers

30 01 2023 13:16:04.094:INFO [launcher]: Launching browsers rchrome, rchrome, rchrome, rchrome with concurrency unlimited

30 01 2023 13:16:04.102:INFO [launcher]: Starting browser chrome via Remote WebDriver

30 01 2023 13:16:04.123:INFO [launcher]: Starting browser chrome via Remote WebDriver

30 01 2023 13:16:04.126:INFO [launcher]: Starting browser chrome via Remote WebDriver

30 01 2023 13:16:04.146:INFO [launcher]: Starting browser chrome via Remote WebDriver

30 01 2023 13:16:06.934:INFO [Chrome 94.0.4606.61 (Linux x86_64)]: Connected on socket Q78ziEoXVTmDZ8tyAAAH with id 73218511

30 01 2023 13:16:06.986:INFO [Chrome 94.0.4606.61 (Linux x86_64)]: Connected on socket BoLVoYtRbh6arPSZAAAE with id 53204062

30 01 2023 13:16:06.995:INFO [Chrome 94.0.4606.61 (Linux x86_64)]: Connected on socket dzS-f9rdgE_i9wgfAAAF with id 82118754

30 01 2023 13:16:06.998:INFO [Chrome 94.0.4606.61 (Linux x86_64)]: Connected on socket o1PkuJQ89L4nIy2wAAAG with id 22447646

TOTAL: 0 SUCCESS

Please Provide the Following Information

  • OS: Ubuntu 22.04
  • Node Version: v16.18.1
  • VS Code Version: 1.74.3
  • Karma Version: 6.3.20
  • Frameworks: Angular

Tests not loaded for default generated Angular 15 workspace - follow up to issue #60

The Bug

  • In a newly generated angular workspace with a library and an application project, the karma-test-explorer shows only the tests in the application project, but not the tests in the library project.

Steps to Reproduce the Behavior

  1. Create new angular workspace with 2 projects:
ng new my-library --create-application=false  
cd my-library  
npm install --save @angular/material @angular/cdk @angular/animations  
ng g application demo-app --style=scss --routing=true  
ng g library angular-lib  
ng add @angular/material  --project=demo-app  
ng add @angular/material  --project=angular-lib  
  1. Open workspace in VSCode
  2. Open Test pane
  3. See only the 3 tests from the application project

Expected Behavior

  • The tests from all projects should be visible.

Provide Debug Logs

Log files:
Karma.Test-Explorer_workspace.txt
Karma.Server_my-library_demo-app.txt
Karma.Test-Explorer_my-library_demo-app.txt

Minimal Reproduction Project

Screenshots

VSCode_test-pane

Please Provide the Following Information

  • OS: Windows 10
  • Environment: the pc itself
  • Node Version: 16.18.1 (on Windows)
  • Karma Version: 6.4.1
  • Frameworks: Angular, Jasmine
  • VS Code versions:
    Version: 1.74.3 (system setup)
    Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
    Date: 2023-01-09T16:59:02.252Z
    Electron: 19.1.8
    Chromium: 102.0.5005.167
    Node.js: 16.14.2
    V8: 10.2.154.15-electron.0
    OS: Windows_NT x64 10.0.19045
    Sandboxed: No

Additional Context

  • Don't know, if this is relevant, but according to an open issue in angular-cli angular will only run all tests, when --watch=false; otherwise only for the "default" project.
  • IMHO the pr resulting from issue #60 made tests "available" in angular 15; but as it seems, not for multi project workspaces.

Tests not loaded for default generated Angular 15 project

Not showing the test buttons

  • Not showing the test related buttons e.g run tests, show log etc buttons aren't showing in the UI.

Steps to Reproduce the Behavior

  1. Install a fresh Angular project
  2. Open the project
  3. Open the default app.component.spec.ts file
  4. See no buttons showing out

Describe the Expected Behavior

  • Showing the buttons like test run button, show log button etc. The test run works perfectly using npm test but no controls show from UI so no issues with the tests.

Screenshots(No controls show)
image

Please Provide the Following Information

  • OS: Ubuntu 20.04.5 LTS
  • Node Version: v16.13.0
  • VS Code Version: 1.73.1
  • Karma Version: 6.4.1
  • Frameworks: Jasmine

Support needed to configure extension

Describe the Bug

  • Could not listen for Karma events - Test execution failed: Test run encountered an error

Steps to Reproduce the Behavior

  1. Start extension with default parameters

Describe the Expected Behavior

  • Extension working

Debug Logs

  • With the karmaTestExplorer.logLevel set to debug, please capture and attach the logs from the Karma Test Explorer Output panel.

Please Provide the Following Information

  • OS: Windows
  • Environment (e.g. DevContainer Guest OS and version)
  • Version (e.g. 22)

Additional Context

  • Important part of logs :
[2021-10-28 09:38:50.715] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Done concluding ambient test event processing
[2021-10-28 09:38:50.730] [DEBUG] [KarmaTestEventListener]: Received Karma event: run_start
[2021-10-28 09:38:50.730] [DEBUG] [KarmaTestEventListener]: Test run started for browsers: 
[2021-10-28 09:38:50.730] [DEBUG] [KarmaTestEventListener]: New test run starting with id 'undefined' is not for the current requested test run Id: f7mdkaiz
[2021-10-28 09:38:50.731] [DEBUG] [KarmaTestEventListener]: Received Karma event: run_complete
[2021-10-28 09:38:50.731] [DEBUG] [KarmaTestEventListener]: Test run completed with status 'Error' for browsers: 
[2021-10-28 09:38:50.731] [DEBUG] [KarmaTestEventListener]: Test error processing requested with message: Test run encountered an error
[2021-10-28 09:38:50.731] [DEBUG] [KarmaTestEventListener]: Sending test error event to test event processor with message: Test run encountered an error
[2021-10-28 09:38:50.731] [DEBUG] [KarmaTestEventProcessor]: Request to process test error event with message: Test run encountered an error
[2021-10-28 09:38:50.731] [DEBUG] [KarmaTestEventProcessor]: Request to conclude test event processing
[2021-10-28 09:38:50.732] [ERROR] [KarmaTestEventListener]: Could not listen for Karma events - Test execution failed: Test run encountered an error

Loading extension error: Cannot run new test - Another test operation is still running

Describe the Bug
Extension doesn't load any tests into Test Explorer on initial load. Reports warning Cannot run new test - Another test operation is still running

Steps to Reproduce the Behavior
Load the extension or reload the VS Code Window

Describe the Expected Behavior
Provide Debug Logs
Karma Test Explorer (workspace)

[2022-09-27 21:30:31.168] [INFO] [Main]: Activating Karma Test Explorer, v0.7.5
[2022-09-27 21:30:31.168] [INFO] [Main]: Creating file handler
[2022-09-27 21:30:31.168] [INFO] [Main]: Creating workspace configuration resolver
[2022-09-27 21:30:31.168] [INFO] [Main]: Creating project factory
[2022-09-27 21:30:31.169] [INFO] [Main]: Creating config change manager
[2022-09-27 21:30:31.169] [DEBUG] [ConfigChangeManager]: Creating config change subscription
[2022-09-27 21:30:31.169] [INFO] [Main]: Creating preference manager
[2022-09-27 21:30:31.169] [INFO] [Main]: Creating port acquisition manager
[2022-09-27 21:30:31.169] [INFO] [Main]: Creating multi-status display
[2022-09-27 21:30:31.169] [INFO] [Main]: Registering project selection command
[2022-09-27 21:30:31.169] [INFO] [Main]: Registering function execution command
[2022-09-27 21:30:31.169] [INFO] [Main]: Setting initial multi-project context
[2022-09-27 21:30:31.169] [INFO] [Main]: Setting multi-project context to: false
[2022-09-27 21:30:31.169] [INFO] [Main]: Processing initial workspace folders
[2022-09-27 21:30:31.169] [INFO] [Main]: Discovering projects for workspace folders: [
  "C:/DEV/project"
]
[2022-09-27 21:30:31.169] [DEBUG] [ProjectFactory]: Inspecting workspace folder for testing: c:\DEV\project
[2022-09-27 21:30:31.169] [DEBUG] [ProjectFactory]: Workspace folder 'C:/DEV/project' does not explicitly enable or disable testing with the 'karmaTestExplorer.enableExtension' extension setting
[2022-09-27 21:30:31.209] [DEBUG] [ProjectFactory]: Workspace folder 'C:/DEV/project' has no Karma Test Explorer settings configured
[2022-09-27 21:30:31.209] [DEBUG] [ProjectFactory]: Found package.json file at 'C:/DEV/project/package.json'
[2022-09-27 21:30:31.210] [DEBUG] [ProjectFactory]: Found a workspace package.json file at 'C:/DEV/project/package.json'
[2022-09-27 21:30:31.210] [DEBUG] [ProjectFactory]: Including projects in workspace folder 'C:/DEV/project' because workspace package.json file 'C:/DEV/project/package.json' includes a karma dev dependency
[2022-09-27 21:30:31.210] [DEBUG] [ProjectFactory]: Including projects in workspace folder - One or more inclusion conditions were satisfied: C:/DEV/project
[2022-09-27 21:30:31.212] [DEBUG] [ProjectFactory]: Cannot get Angular projects - Angular Json file does not exist: C:/DEV/project/angular.json
[2022-09-27 21:30:31.212] [DEBUG] [ProjectFactory]: Cannot get Angular projects - Angular CLI Json file does not exist: C:/DEV/project/.angular-cli.json
[2022-09-27 21:30:31.212] [INFO] [ProjectFactory]: Using project type 'karma' (auto-detected) for workspace folder: C:/DEV/project
[2022-09-27 21:30:31.212] [INFO] [Main]: Last loaded projects: []
[2022-09-27 21:30:31.213] [INFO] [Main]: Registering project: C:/DEV/project
[2022-09-27 21:30:31.213] [INFO] [Main]: Activating adapter for project: C:/DEV/project (project)
[2022-09-27 21:30:31.243] [INFO] [Main]: Done activating adapter for project: C:/DEV/project (project)
[2022-09-27 21:30:31.243] [INFO] [Main]: Setting multi-project context to: false
[2022-09-27 21:30:31.243] [INFO] [Main]: Subscribing to config changes for workspace folder: C:/DEV/project
[2022-09-27 21:30:31.243] [INFO] [Main]: Subscribing for subsequent workspace folder additions and removals
[2022-09-27 21:30:31.253] [DEBUG] [PortAcquisitionManager]: Request for 1 port(s) at base port 9876 acquired: 9876
[2022-09-27 21:30:31.253] [TRACE] [PortAcquisitionManager]: Currently assigned ports: 9876
[2022-09-27 21:30:31.259] [DEBUG] [PortAcquisitionManager]: Request for 1 port(s) at base port 9999 acquired: 9999
[2022-09-27 21:30:31.259] [TRACE] [PortAcquisitionManager]: Currently assigned ports: 9876, 9999
[2022-09-27 21:30:31.264] [DEBUG] [PortAcquisitionManager]: Request for 1 port(s) at base port 9222 acquired: 9222
[2022-09-27 21:30:31.264] [TRACE] [PortAcquisitionManager]: Currently assigned ports: 9876, 9999, 9222

Karma Test Explorer (project)

[2022-09-27 21:30:31.221] [DEBUG] [Adapter]: Creating server output channel
[2022-09-27 21:30:31.221] [DEBUG] [Adapter]: Creating port acquisition client
[2022-09-27 21:30:31.221] [DEBUG] [Adapter]: Creating debugger
[2022-09-27 21:30:31.221] [DEBUG] [Adapter]: Creating project commands handler
[2022-09-27 21:30:31.221] [DEBUG] [Commands]: Registering command 'ShowLog' as namespaced command 'karmaTestExplorer.project:ShowLog
[2022-09-27 21:30:31.221] [DEBUG] [Commands]: Registering command 'Reset' as namespaced command 'karmaTestExplorer.project:Reset
[2022-09-27 21:30:31.221] [DEBUG] [Adapter]: Creating notifications handler
[2022-09-27 21:30:31.221] [DEBUG] [Adapter]: Creating test emitters
[2022-09-27 21:30:31.221] [DEBUG] [Adapter]: Creating initial test explorer
[2022-09-27 21:30:31.222] [DEBUG] [Adapter]: Assembling new test explorer
[2022-09-27 21:30:31.222] [DEBUG] [Adapter]: Re/creating test explorer with extension configuration: {
  "logger": {
    "loggerName": "ExtensionConfig",
    "appender": {
      "outputChannelName": "Karma Test Explorer (project)",
      "options": {
        "enabled": true,
        "lazyCreate": false
      },
      "outputChannel": {
        "name": "Karma Test Explorer (project)"
      }
    },
    "logLevel": "trace"
  },
  "projectType": "karma",
  "projectName": "project",
  "projectPath": "C:/DEV/project",
  "projectInstallRootPath": "C:/DEV/project",
  "projectKarmaConfigFilePath": "C:/DEV/project/test/karma.debug.js",
  "baseKarmaConfFilePath": "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/dist/karma.conf",
  "karmaPort": 9876,
  "testTriggerMethod": "http",
  "testParsingMethod": "regexp",
  "failOnStandardError": true,
  "defaultSocketConnectionPort": 9999,
  "logLevel": "trace",
  "karmaLogLevel": "debug",
  "karmaReporterLogLevel": "disable",
  "autoWatchEnabled": true,
  "autoWatchBatchDelay": 900000,
  "karmaReadyTimeout": 900000,
  "testGrouping": "folder",
  "flattenSingleChildFolders": true,
  "environment": {},
  "testFramework": "jasmine",
  "reloadOnKarmaConfigChange": true,
  "customLauncher": {
    "base": "Chrome",
    "flags": [
      "--headless",
      "--disable-gpu",
      "--disable-dev-shm-usage",
      "--remote-debugging-port=9222"
    ]
  },
  "testFiles": [
    "src/test/extensions.spec.js"
  ],
  "allowGlobalPackageFallback": true,
  "excludeDisabledTests": false,
  "showOnlyFocusedTests": false,
  "showUnmappedTests": true,
  "showTestDefinitionTypeIndicators": true,
  "debuggerConfig": {
    "name": "Karma Test Explorer Debugging",
    "type": "pwa-chrome",
    "request": "attach",
    "browserAttachLocation": "workspace",
    "address": "localhost",
    "port": 9222,
    "timeout": 60000,
    "webRoot": "C:/DEV/project",
    "pathMapping": {
      "/": "C:/DEV/project/",
      "/base/": "C:/DEV/project/"
    }
  },
  "reloadOnChangedFiles": [],
  "defaultDebugPort": 9222,
  "excludeFiles": [
    "**/node_modules/**/*"
  ]
}
[2022-09-27 21:30:31.222] [DEBUG] [Adapter]: Creating main factory
[2022-09-27 21:30:31.222] [INFO] [MainFactory]: Using test framework: jasmine 
[2022-09-27 21:30:31.222] [DEBUG] [MainFactory]: Creating test helper
[2022-09-27 21:30:31.222] [DEBUG] [MainFactory]: Creating process handler
[2022-09-27 21:30:31.222] [DEBUG] [MainFactory]: Creating test locator
[2022-09-27 21:30:31.222] [DEBUG] [MainFactory]: Creating Regex test definition provider
[2022-09-27 21:30:31.223] [DEBUG] [MainFactory]: Creating test store
[2022-09-27 21:30:31.223] [DEBUG] [Adapter]: Getting process handler from factory
[2022-09-27 21:30:31.223] [DEBUG] [Adapter]: Getting test locator from factory
[2022-09-27 21:30:31.223] [DEBUG] [Adapter]: Getting test store from factory
[2022-09-27 21:30:31.223] [DEBUG] [Adapter]: Getting test manager from factory
[2022-09-27 21:30:31.224] [DEBUG] [KarmaFactory]: Creating Karma test server executor
[2022-09-27 21:30:31.225] [DEBUG] [KarmaFactory]: Creating Karma http test run executor
[2022-09-27 21:30:31.225] [DEBUG] [Adapter]: Getting file watcher from factory
[2022-09-27 21:30:31.226] [DEBUG] [FileWatcher]: Creating file watchers for monitored files
[2022-09-27 21:30:31.226] [TRACE] [FileWatcher]: Monitored files ( configured --> normalized): [
  "C:/DEV/project/test/karma.debug.js"
] --> [
  "test/karma.debug.js"
]
[2022-09-27 21:30:31.226] [DEBUG] [FileWatcher]: Registering file handler for files: [
  "test/karma.debug.js"
]
[2022-09-27 21:30:31.226] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern 'test/karma.debug.js' using base path: c:\DEV\project
[2022-09-27 21:30:31.227] [DEBUG] [FileWatcher]: Creating file watchers for test file changes
[2022-09-27 21:30:31.227] [DEBUG] [FileWatcher]: Registering file handler for files: [
  "src/test/extensions.spec.js"
]
[2022-09-27 21:30:31.227] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern 'src/test/extensions.spec.js' using base path: c:\DEV\project
[2022-09-27 21:30:31.227] [DEBUG] [Adapter]: Creating test explorer
[2022-09-27 21:30:31.229] [DEBUG] [KarmaTestExplorer]: Test load started
[2022-09-27 21:30:31.229] [DEBUG] [KarmaTestExplorer]: Test hard refresh started
[2022-09-27 21:30:31.229] [DEBUG] [TestLocator]: Refresh requested for all spec file(s): ["src/test/extensions.spec.js"]
[2022-09-27 21:30:31.229] [DEBUG] [TestLocator]: No refresh currently in progress - will commence new refresh for files: ["src/test/extensions.spec.js"]
[2022-09-27 21:30:31.230] [DEBUG] [TestLocator]: Refreshing all spec file(s): ["src/test/extensions.spec.js"]
[2022-09-27 21:30:31.240] [DEBUG] [KarmaTestExplorer]: Refresh request - Test manager is not started - Starting it
[2022-09-27 21:30:31.253] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9876 acquired: 9876
[2022-09-27 21:30:31.253] [TRACE] [PortAcquisitionClient]: Currently assigned ports: 9876
[2022-09-27 21:30:31.253] [INFO] [DefaultTestManager]: Using requested --> available karma port: 9876 --> 9876
[2022-09-27 21:30:31.259] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9999 acquired: 9999
[2022-09-27 21:30:31.259] [TRACE] [PortAcquisitionClient]: Currently assigned ports: 9876, 9999
[2022-09-27 21:30:31.259] [INFO] [DefaultTestManager]: Using requested --> available karma listener socket port: 9999 --> 9999
[2022-09-27 21:30:31.264] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9222 acquired: 9222
[2022-09-27 21:30:31.264] [TRACE] [PortAcquisitionClient]: Currently assigned ports: 9876, 9999, 9222
[2022-09-27 21:30:31.264] [INFO] [DefaultTestManager]: Using requested --> available debug port: 9222 --> 9222
[2022-09-27 21:30:31.264] [DEBUG] [KarmaTestListener]: Attempting to listen on port 9999
[2022-09-27 21:30:31.268] [INFO] [KarmaTestServer]: Starting karma server
[2022-09-27 21:30:31.269] [DEBUG] [KarmaCommandLineTestServerExecutor]: Executing server start with karma port '9876' and karma socket port '9999'
[2022-09-27 21:30:31.370] [DEBUG] [KarmaCommandLineTestServerExecutor]: Found 'karma' module at: C:\DEV\project\node_modules\karma
[2022-09-27 21:30:31.371] [DEBUG] [KarmaCommandLineTestServerExecutor::SimpleProcess]: Process mo3xd5dhd0q: 
Executing command: 'C:\Program Files\nodejs\node.EXE' 
with args: ["C:\\DEV\\project\\node_modules\\karma\\bin\\karma","start","C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/dist/karma.conf","--no-single-run"]
[2022-09-27 21:30:31.371] [TRACE] [KarmaCommandLineTestServerExecutor::SimpleProcess]: Process mo3xd5dhd0q options: 
{"windowsHide":true,"failOnStandardError":true,"processLog":{"logOutput":{"outputChannelName":"Karma Server (project)","options":{"enabled":true,"lazyCreate":false},"outputChannel":{"name":"Karma Server (project)"}}},"cwd":"C:/DEV/project","shell":false,"env":{"ALLUSERSPROFILE":"C:\\ProgramData","ANT_HOME":"C:\\Program Files (x86)\\apache-ant-1.9.1","APPDATA":"C:\\Users\\tcuddy\\AppData\\Roaming","ChocolateyInstall":"C:\\ProgramData\\chocolatey","ChocolateyLastPathUpdate":"132706723974750868","CHROME_CRASHPAD_PIPE_NAME":"\\\\.\\pipe\\crashpad_8444_ZMNKWRYDBGMLPWAP","CLIENTNAME":"TCUDDYPF0XSFNU","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"AUSGP-TJCSDEV","ComSpec":"C:\\Windows\\system32\\cmd.exe","ELECTRON_RUN_AS_NODE":"1","GIT_SSH":"C:\\Program Files\\PuTTY\\plink.exe","HDBADONET":"C:\\Program Files\\sap\\hdbclient\\ado.net\\","HDBDOTNETCORE":"C:\\Program Files\\sap\\hdbclient\\dotnetcore","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\tcuddy","IXOS_ARTIFACTORY_SERVER":"ausartprd01.opentext.net","JAVA_HOME":"C:\\Program Files\\Java\\jdk1.8.0_112","LOCALAPPDATA":"C:\\Users\\tcuddy\\AppData\\Local","LOGONSERVER":"\\\\OTAUSDC1902","NODEJS_HOME":"C:\\Program Files\\nodejs","NUMBER_OF_PROCESSORS":"4","NVM_HOME":"C:\\Users\\tcuddy\\AppData\\Roaming\\nvm","NVM_SYMLINK":"C:\\Program Files\\nodejs","OneDrive":"C:\\Users\\tcuddy\\OneDrive","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OS":"Windows_NT","P4PORT":"ausp4.lab.opentext.com:1999","P4USER":"tcuddy","Path":"C:\\Program Files\\sap\\hdbclient;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files (x86)\\RBTools\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Perl\\bin\\;C:\\oracle\\product\\12.2.0\\client_1\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\cmder;C:\\Program Files\\Perforce\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Microsoft VS Code\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\PostgreSQL\\13\\bin;%NVM_HOME%;%NVM_SYMLINK%;C:\\Users\\tcuddy\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Fiddler;C:\\Users\\tcuddy\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 45 Stepping 2, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"2d02","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PSModulePath":"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","SESSIONNAME":"RDP-Tcp#9","SystemDrive":"C:","SystemRoot":"C:\\Windows","TEMP":"C:\\Users\\tcuddy\\AppData\\Local\\Temp\\2","TMP":"C:\\Users\\tcuddy\\AppData\\Local\\Temp\\2","USERDNSDOMAIN":"OPENTEXT.NET","USERDOMAIN":"OPENTEXT","USERDOMAIN_ROAMINGPROFILE":"OPENTEXT","USERNAME":"tcuddy","USERPROFILE":"C:\\Users\\tcuddy","VSCODE_AMD_ENTRYPOINT":"vs/workbench/api/node/extensionHostProcess","VSCODE_CODE_CACHE_PATH":"C:\\Users\\tcuddy\\AppData\\Roaming\\Code\\CachedData\\74b1f979648cc44d385a2286793c226e611f59e7","VSCODE_CWD":"C:\\Program Files\\Microsoft VS Code","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_IPC_HOOK":"\\\\.\\pipe\\21c2cccfc8f43c6962ccc65d471dcb93-1.71.2-main-sock","VSCODE_NLS_CONFIG":"{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_PID":"8444","windir":"C:\\Windows","WIX_HOME":"C:\\Program Files (x86)\\wix","KarmaTestExplorer_autoWatchEnabled":"true","KarmaTestExplorer_autoWatchBatchDelay":"900000","KarmaTestExplorer_browser":"","KarmaTestExplorer_customLauncher":"{\"base\":\"Chrome\",\"flags\":[\"--headless\",\"--disable-gpu\",\"--disable-dev-shm-usage\",\"--remote-debugging-port=9222\"]}","KarmaTestExplorer_extensionLogLevel":"trace","KarmaTestExplorer_karmaLogLevel":"debug","KarmaTestExplorer_karmaReporterLogLevel":"disable","KarmaTestExplorer_karmaPort":"9876","KarmaTestExplorer_karmaSocketPort":"9999","KarmaTestExplorer_projectKarmaConfigPath":"C:/DEV/project/test/karma.debug.js","KarmaTestExplorer_debugPort":"9222"},"parentProcessName":"KarmaCommandLineTestServerExecutor"}
[2022-09-27 21:30:31.377] [DEBUG] [KarmaCommandLineTestServerExecutor::SimpleProcess]: Process mo3xd5dhd0q - process spawned successfully with PID 10128 for command: C:\Program Files\nodejs\node.EXE C:\DEV\project\node_modules\karma\bin\karma start C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/dist/karma.conf --no-single-run
[2022-09-27 21:30:31.378] [TRACE] [NotificationHandler]: Setting 'Busy' status with message 'Starting Karma' and tooltip: Click to show log
[2022-09-27 21:30:31.379] [INFO] [KarmaTestListener]: Waiting for Karma to connect on port 9999
[2022-09-27 21:30:32.191] [DEBUG] [SimpleFileHandler]: Resolved 1 file(s) from file patterns: ["src/test/extensions.spec.js"]
[2022-09-27 21:30:32.191] [TRACE] [SimpleFileHandler]: List of resolved files from file patterns: ["src/test/extensions.spec.js"] using options: {
  "unique": true,
  "absolute": true,
  "baseNameMatch": false,
  "onlyFiles": true,
  "gitignore": true,
  "cwd": "C:/DEV/project",
  "fileEncoding": "utf-8",
  "ignore": [
    "**/node_modules/**/*"
  ]
} are: [
  "C:/DEV/project/src/test/extensions.spec.js"
]
[2022-09-27 21:30:32.192] [DEBUG] [TestLocator]: Requested --> filtered file count to refresh: 1 --> 1
[2022-09-27 21:30:32.192] [TRACE] [TestLocator]: Requested list of file(s) to refresh: [
  "C:/DEV/project/src/test/extensions.spec.js"
] 
--> Filtered list of file(s) to refresh: [
  "C:/DEV/project/src/test/extensions.spec.js"
]
[2022-09-27 21:30:32.192] [DEBUG] [SimpleFileHandler]: Reading file async: C:/DEV/project/src/test/extensions.spec.js
[2022-09-27 21:30:32.192] [TRACE] [SimpleFileHandler]: Done reading file C:/DEV/project/src/test/extensions.spec.js: null
[2022-09-27 21:30:32.193] [TRACE] [RegexpTestDefinitionProvider]: Processing spec file: C:/DEV/project/src/test/extensions.spec.js
[2022-09-27 21:30:32.193] [TRACE] [RegexpTestFileParser]: Parse operation vx3o1o9r56f: Parsing file 'C:/DEV/project/src/test/extensions.spec.js' having content: 
define(['json!project/project-extensions.json'], function (extensions) {
  'use strict';

  describe('The extension', function () {
    beforeAll(function () {
      expect(extensions).toBeTruthy();
      var collection = extensions[
            'csui/models/server.module/server.module.collection'];
      expect(collection).toBeTruthy();
      var modules = collection.modules;
      expect(modules).toBeTruthy();
      this.project = modules.project;
    });

    it('registers the module', function () {
      expect(this.project).toBeTruthy();
    });

    it('declares a version', function () {
      expect(this.project.version).toBeTruthy();
    });
  });
});

[2022-09-27 21:30:32.196] [TRACE] [RegexpTestFileParser]: Parse operation vx3o1o9r56f: Parsed 2 total tests from file 'C:/DEV/project/src/test/extensions.spec.js' in 0.00 secs
[2022-09-27 21:30:32.196] [DEBUG] [RegexpTestDefinitionProvider]: Found 2 test(s) in spec file: C:/DEV/project/src/test/extensions.spec.js
[2022-09-27 21:30:32.196] [DEBUG] [RegexpTestDefinitionProvider]: Adding suite file to cache: C:/DEV/project/src/test/extensions.spec.js
[2022-09-27 21:30:32.196] [TRACE] [RegexpTestDefinitionProvider]: Suite for cached file is: The extension
[2022-09-27 21:30:32.196] [DEBUG] [TestLocator]: Refreshed 1 spec files from glob list in 0.97 secs: ["src/test/extensions.spec.js"]
[2022-09-27 21:30:33.811] [INFO] [KarmaTestListener]: Established new connection with Karma on port 9999
[2022-09-27 21:30:33.811] [DEBUG] [KarmaTestListener]: Listening for Karma events
[2022-09-27 21:30:33.827] [TRACE] [KarmaTestListener]: Received Karma event 'file_list_modified': [
  {
    "name": "file_list_modified"
  }
]
[2022-09-27 21:30:33.827] [TRACE] [MultiEventHandler]: Using default handler for received event with no assigned handler: file_list_modified
[2022-09-27 21:30:33.827] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: file_list_modified
[2022-09-27 21:30:33.827] [TRACE] [KarmaTestRunProcessor]: Data for ignored event 'file_list_modified': {
  "name": "file_list_modified"
}
[2022-09-27 21:30:33.942] [TRACE] [KarmaTestListener]: Received Karma event 'listening': [
  {
    "name": "listening",
    "port": 9876
  }
]
[2022-09-27 21:30:33.942] [TRACE] [MultiEventHandler]: Using assigned handler for received event: listening
[2022-09-27 21:30:33.942] [DEBUG] [KarmaTestRunProcessor]: Karma server on karma port 9876 is ready for requests
[2022-09-27 21:30:34.595] [TRACE] [KarmaTestListener]: Received Karma event 'browsers_change': [
  {
    "name": "browsers_change",
    "browsers": [
      {
        "id": "78552076",
        "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
        "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
      }
    ]
  }
]
[2022-09-27 21:30:34.595] [TRACE] [MultiEventHandler]: Using default handler for received event with no assigned handler: browsers_change
[2022-09-27 21:30:34.595] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browsers_change
[2022-09-27 21:30:34.595] [TRACE] [KarmaTestRunProcessor]: Data for ignored event 'browsers_change': {
  "name": "browsers_change",
  "browsers": [
    {
      "id": "78552076",
      "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
      "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
    }
  ]
}
[2022-09-27 21:30:34.595] [TRACE] [KarmaTestListener]: Received Karma event 'browser_register': [
  {
    "name": "browser_register"
  }
]
[2022-09-27 21:30:34.595] [TRACE] [MultiEventHandler]: Using default handler for received event with no assigned handler: browser_register
[2022-09-27 21:30:34.595] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_register
[2022-09-27 21:30:34.595] [TRACE] [KarmaTestRunProcessor]: Data for ignored event 'browser_register': {
  "name": "browser_register"
}
[2022-09-27 21:30:34.595] [TRACE] [KarmaTestListener]: Received Karma event 'browsers_ready': [
  {
    "name": "browsers_ready"
  }
]
[2022-09-27 21:30:34.595] [TRACE] [MultiEventHandler]: Using assigned handler for received event: browsers_ready
[2022-09-27 21:30:34.595] [DEBUG] [KarmaTestRunProcessor]: Browsers connected and ready for test execution
[2022-09-27 21:30:34.595] [TRACE] [KarmaTestListener]: Received Karma event 'run_start': [
  {
    "name": "run_start",
    "browsers": [
      {
        "id": "78552076",
        "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
        "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
      }
    ]
  }
]
[2022-09-27 21:30:34.595] [TRACE] [MultiEventHandler]: Using assigned handler for received event: run_start
[2022-09-27 21:30:34.595] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome Headless 105.0.5195.127 (Windows 10)
[2022-09-27 21:30:34.596] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Beginning ambient test event processing
[2022-09-27 21:30:34.596] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to begin test event processing
[2022-09-27 21:30:34.596] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Proceeding to begin processing test events
[2022-09-27 21:30:34.596] [TRACE] [NotificationHandler]: Setting 'Busy' status with message 'Running tests in background' and tooltip: Click to show log
[2022-09-27 21:30:34.596] [TRACE] [NotificationHandler]: Existing status is yet to dismiss - Will cancel future dismissal
[2022-09-27 21:30:34.598] [TRACE] [NotificationHandler]: Cancelled status dismisser for 'Busy' status with message 'Starting Karma' due to reason: Displaying new status with message - Running tests in background
[2022-09-27 21:30:34.598] [TRACE] [NotificationHandler]: Dismissing promise has concluded for 'Busy' status with message 'Starting Karma' and tooltip: Click to show log
[2022-09-27 21:30:34.598] [TRACE] [NotificationHandler]: Setting 'Busy' status with message 'Loading test files' and tooltip: Click to show log
[2022-09-27 21:30:34.598] [TRACE] [NotificationHandler]: Existing status is yet to dismiss - Will cancel future dismissal
[2022-09-27 21:30:34.598] [TRACE] [NotificationHandler]: Dismissing promise has concluded for 'Busy' status with message 'Loading test files' and tooltip: Click to show log
[2022-09-27 21:30:34.598] [INFO] [DefaultTestManager]: Discovering tests
[2022-09-27 21:30:34.598] [TRACE] [NotificationHandler]: Setting 'Busy' status with message 'Discovering tests' and tooltip: Click to show log
[2022-09-27 21:30:34.599] [DEBUG] [KarmaTestRunProcessor]: Started test event handling for test run Id: vyym62s9f5i
[2022-09-27 21:30:34.599] [DEBUG] [KarmaTestRunner]: Executing test discovery run id: vyym62s9f5i
[2022-09-27 21:30:34.600] [DEBUG] [KarmaHttpTestRunExecutor]: Sending karma run http request with data: {"args":["--grep=/$^/","--testRunId=vyym62s9f5i"],"refresh":true}
[2022-09-27 21:30:34.602] [TRACE] [NotificationHandler]: Cancelled status dismisser for 'Busy' status with message 'Running tests in background' due to reason: Displaying new status with message - Loading test files
[2022-09-27 21:30:34.602] [TRACE] [NotificationHandler]: Aborting dismiss of 'Busy' status with message 'Loading test files' - Different status already displayed
[2022-09-27 21:30:34.612] [DEBUG] [KarmaHttpTestRunExecutor]: Finished sending http test run request
[2022-09-27 21:30:34.643] [TRACE] [KarmaTestListener]: Received Karma event 'file_list_modified': [
  {
    "name": "file_list_modified"
  }
]
[2022-09-27 21:30:34.643] [TRACE] [MultiEventHandler]: Using default handler for received event with no assigned handler: file_list_modified
[2022-09-27 21:30:34.643] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: file_list_modified
[2022-09-27 21:30:34.643] [TRACE] [KarmaTestRunProcessor]: Data for ignored event 'file_list_modified': {
  "name": "file_list_modified"
}
[2022-09-27 21:30:34.643] [TRACE] [KarmaTestListener]: Received Karma event 'run_start': [
  {
    "name": "run_start",
    "runId": "vyym62s9f5i",
    "browsers": [
      {
        "id": "78552076",
        "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
        "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
      }
    ]
  }
]
[2022-09-27 21:30:34.643] [TRACE] [MultiEventHandler]: Using assigned handler for received event: run_start
[2022-09-27 21:30:34.643] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome Headless 105.0.5195.127 (Windows 10)
[2022-09-27 21:30:34.643] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Aborting current ambient event processing - New test is starting
[2022-09-27 21:30:34.643] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test error event with message: New test is starting
[2022-09-27 21:30:34.644] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to conclude test event processing
[2022-09-27 21:30:34.644] [DEBUG] [KarmaTestRunProcessor]: Test run starting for requested test run Id: vyym62s9f5i
[2022-09-27 21:30:34.644] [DEBUG] [KarmaTestRunProcessor]: Starting test capture session for current requested test run Id: vyym62s9f5i
[2022-09-27 21:30:34.644] [DEBUG] [KarmaTestEventProcessor]: Request to begin test event processing
[2022-09-27 21:30:34.644] [DEBUG] [KarmaTestEventProcessor]: Proceeding to begin processing test events
[2022-09-27 21:30:34.644] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Aborting current ambient event processing - New test is starting
[2022-09-27 21:30:34.644] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Concluding ambient test event processing
[2022-09-27 21:30:34.644] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Retiring 0 skipped ambient test ids
[2022-09-27 21:30:34.644] [TRACE] [KarmaAutoWatchTestEventProcessor]: Skipped ambient test ids to retire: []
[2022-09-27 21:30:34.645] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Done concluding ambient test event processing
[2022-09-27 21:30:34.645] [TRACE] [NotificationHandler]: Dismissing promise has concluded for 'Busy' status with message 'Running tests in background' and tooltip: Click to show log
[2022-09-27 21:30:34.645] [TRACE] [KarmaTestListener]: Received Karma event 'run_start': [
  {
    "name": "run_start",
    "runId": "vyym62s9f5i",
    "browsers": [
      {
        "id": "78552076",
        "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
        "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
      }
    ]
  }
]
[2022-09-27 21:30:34.645] [TRACE] [MultiEventHandler]: Using assigned handler for received event: run_start
[2022-09-27 21:30:34.645] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome Headless 105.0.5195.127 (Windows 10)
[2022-09-27 21:30:34.645] [DEBUG] [KarmaTestRunProcessor]: Test run starting for requested test run Id: vyym62s9f5i
[2022-09-27 21:30:34.645] [DEBUG] [KarmaTestRunProcessor]: New requested test run with run id 'vyym62s9f5i' is starting while another one with same Id is already in progress - Continuing with existing test
[2022-09-27 21:30:34.798] [DEBUG] [KarmaHttpTestRunExecutor]: Karma http request closed
[2022-09-27 21:30:34.801] [TRACE] [KarmaTestListener]: Received Karma event 'browser_start': [
  {
    "name": "browser_start",
    "browser": {
      "id": "78552076",
      "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
      "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
    }
  }
]
[2022-09-27 21:30:34.801] [TRACE] [MultiEventHandler]: Using assigned handler for received event: browser_start
[2022-09-27 21:30:34.802] [DEBUG] [KarmaTestRunProcessor]: Test run started in browser: Chrome Headless 105.0.5195.127 (Windows 10)
[2022-09-27 21:30:34.802] [TRACE] [KarmaTestListener]: Received Karma event 'browsers_change': [
  {
    "name": "browsers_change",
    "browsers": [
      {
        "id": "78552076",
        "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
        "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
      }
    ]
  }
]
[2022-09-27 21:30:34.802] [TRACE] [MultiEventHandler]: Using default handler for received event with no assigned handler: browsers_change
[2022-09-27 21:30:34.802] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browsers_change
[2022-09-27 21:30:34.802] [TRACE] [KarmaTestRunProcessor]: Data for ignored event 'browsers_change': {
  "name": "browsers_change",
  "browsers": [
    {
      "id": "78552076",
      "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
      "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
    }
  ]
}
[2022-09-27 21:30:34.802] [TRACE] [KarmaTestListener]: Received Karma event 'browser_complete': [
  {
    "name": "browser_complete",
    "browser": {
      "id": "78552076",
      "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
      "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
    }
  }
]
[2022-09-27 21:30:34.802] [TRACE] [MultiEventHandler]: Using assigned handler for received event: browser_complete
[2022-09-27 21:30:34.802] [DEBUG] [KarmaTestRunProcessor]: Test run completed in browser: Chrome Headless 105.0.5195.127 (Windows 10)
[2022-09-27 21:30:34.803] [TRACE] [KarmaTestListener]: Received Karma event 'browser_complete_with_no_more_retries': [
  {
    "name": "browser_complete_with_no_more_retries"
  }
]
[2022-09-27 21:30:34.803] [TRACE] [MultiEventHandler]: Using default handler for received event with no assigned handler: browser_complete_with_no_more_retries
[2022-09-27 21:30:34.803] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_complete_with_no_more_retries
[2022-09-27 21:30:34.803] [TRACE] [KarmaTestRunProcessor]: Data for ignored event 'browser_complete_with_no_more_retries': {
  "name": "browser_complete_with_no_more_retries"
}
[2022-09-27 21:30:34.803] [TRACE] [KarmaTestListener]: Received Karma event 'run_complete': [
  {
    "name": "run_complete",
    "runId": "vyym62s9f5i",
    "runStatus": "Complete",
    "exitCode": 0,
    "browsers": [
      {
        "id": "78552076",
        "name": "Chrome Headless 105.0.5195.127 (Windows 10)",
        "fullName": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/105.0.5195.127 Safari/537.36"
      }
    ]
  }
]
[2022-09-27 21:30:34.803] [TRACE] [MultiEventHandler]: Using assigned handler for received event: run_complete
[2022-09-27 21:30:34.803] [DEBUG] [KarmaTestRunProcessor]: Test run completed with status 'Complete' for browsers: Chrome Headless 105.0.5195.127 (Windows 10)
[2022-09-27 21:30:34.803] [DEBUG] [KarmaTestRunProcessor]: Test run ending for current requested test run Id: vyym62s9f5i
[2022-09-27 21:30:34.803] [DEBUG] [KarmaTestRunProcessor]: Ending test capture session for current requested test run Id: vyym62s9f5i
[2022-09-27 21:30:34.803] [DEBUG] [KarmaTestEventProcessor]: Request to conclude test event processing
[2022-09-27 21:30:34.803] [DEBUG] [KarmaTestEventProcessor]: Test event processor is currently processing - Concluding current processing
[2022-09-27 21:30:34.803] [DEBUG] [KarmaTestEventProcessor]: Aggregate test stats will not be emitted because emit test stats is disabled for the current event processor
[2022-09-27 21:30:34.804] [DEBUG] [KarmaTestRunProcessor]: Done with test event handling for test run Id: vyym62s9f5i
[2022-09-27 21:30:34.804] [DEBUG] [KarmaTestRunner]: Processing specs from test discovery
[2022-09-27 21:30:34.804] [DEBUG] [DefaultTestBuilder]: Processed 0 specs to build tests
[2022-09-27 21:30:34.805] [DEBUG] [TestSuiteOrganizer]: Rearranged 0 test files into folders
[2022-09-27 21:30:34.805] [DEBUG] [TestDiscoveryProcessor]: Test discovery - No tests found
[2022-09-27 21:30:34.805] [DEBUG] [DefaultTestManager]: Discovered 0 total tests
[2022-09-27 21:30:34.805] [TRACE] [NotificationHandler]: Setting 'Done' status with message 'Discovered 0 tests' and tooltip: Click to show log
[2022-09-27 21:30:34.805] [TRACE] [NotificationHandler]: Existing status is yet to dismiss - Will cancel future dismissal
[2022-09-27 21:30:34.805] [DEBUG] [KarmaTestExplorer]: Test discovery got 0 tests
[2022-09-27 21:30:34.806] [DEBUG] [KarmaTestExplorer]: Updating loaded test store
[2022-09-27 21:30:34.806] [DEBUG] [KarmaTestExplorer]: Storing newly loaded root suite
[2022-09-27 21:30:34.806] [DEBUG] [TestStore]: Clearing stored tests
[2022-09-27 21:30:34.806] [DEBUG] [TestStore]: Updating stored tests
[2022-09-27 21:30:34.808] [DEBUG] [KarmaTestExplorer]: Cannot run new test - Another test operation is still running
[2022-09-27 21:30:34.808] [DEBUG] [NotificationHandler]: Showing 'Warning' notification with actions  and message: Cannot run new test - Another test operation is still running
[2022-09-27 21:30:34.809] [INFO] [KarmaTestExplorer]: Finished loading tests in 3.58 secs (0 tests loaded)
[2022-09-27 21:30:34.809] [TRACE] [NotificationHandler]: Cancelled status dismisser for 'Busy' status with message 'Discovering tests' due to reason: Displaying new status with message - Discovered 0 tests
[2022-09-27 21:30:34.809] [TRACE] [NotificationHandler]: Dismissing promise has concluded for 'Busy' status with message 'Discovering tests' and tooltip: Click to show log
[2022-09-27 21:30:39.198] [DEBUG] [NotificationHandler]: User selected 'Show Log' for 'Warning' notification: Cannot run new test - Another test operation is still running (Click to show log)
[2022-09-27 21:31:34.807] [TRACE] [NotificationHandler]: Dismissing 'Done' status with message 'Discovered 0 tests' and tooltip: Click to show log

Karma Server:

------------------------------------
Karma Test Explorer: Launching Karma
------------------------------------

[2022-09-27 21:30:32.728] [DEBUG] [KarmaConfigLoader]: Using custom launcher: {
  "base": "Chrome",
  "flags": [
    "--headless",
    "--disable-gpu",
    "--disable-dev-shm-usage",
    "--remote-debugging-port=9222"
  ]
}

27 09 2022 14:30:32.732:DEBUG [config]: Loading config C:\Users\tcuddy\.vscode\extensions\lucono.karma-test-explorer-0.7.5\dist\karma.conf

27 09 2022 14:30:32.745:DEBUG [karma-server]: Final config Config {
  LOG_DISABLE: 'OFF',
  LOG_ERROR: 'ERROR',
  LOG_WARN: 'WARN',
  LOG_INFO: 'INFO',
  LOG_DEBUG: 'DEBUG',
  frameworks: [ 'jasmine' ],
  protocol: 'http:',
  port: 9876,
  listenAddress: '0.0.0.0',
  hostname: 'localhost',
  httpsServerConfig: {},
  basePath: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5',
  files: [
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/nuc/lib/require.js',
      served: true,
      included: true,
      watched: true,
      nocache: false,
      weight: [ 1, 0, 0, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    },
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/nuc/config.js',
      served: true,
      included: true,
      watched: true,
      nocache: false,
      weight: [ 1, 0, 0, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    },
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/test/test-debug.js',
      served: true,
      included: true,
      watched: true,
      nocache: false,
      weight: [ 1, 0, 0, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    },
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/node_modules/karma-requirejs/lib/adapter.js',
      served: true,
      included: true,
      watched: true,
      nocache: false,
      weight: [ 1, 0, 0, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    },
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/test/test-common.js',
      served: true,
      included: true,
      watched: true,
      nocache: false,
      weight: [ 1, 0, 0, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    },
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.js',
      served: true,
      included: false,
      watched: true,
      nocache: true,
      weight: [ 1, 1, 1, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    },
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.css',
      served: true,
      included: false,
      watched: true,
      nocache: true,
      weight: [ 1, 1, 1, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    },
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.hbs',
      served: true,
      included: false,
      watched: true,
      nocache: true,
      weight: [ 1, 1, 1, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    },
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.json',
      served: true,
      included: false,
      watched: true,
      nocache: true,
      weight: [ 1, 1, 1, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    },
    Pattern {
      pattern: 'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/**/!(*.spec.js)',
      served: true,
      included: false,
      watched: true,
      nocache: true,
      weight: [ 1, 1, 1, 0, 0, 0 ],
      type: undefined,
      isBinary: undefined,
      integrity: undefined
    }
  ],
  browserConsoleLogOptions: { level: 'debug', format: '%b %T: %m', terminal: true },
  customContextFile: null,
  customDebugFile: null,
  customClientContextFile: null,
  exclude: [
    'C:/DEV/project/test/karma.debug.js',
    'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/dist/karma.conf'
  ],
  logLevel: 'DEBUG',
  colors: true,
  autoWatch: true,
  autoWatchBatchDelay: 900000,
  restartOnFileChange: false,
  usePolling: false,
  reporters: [ 'KarmaTestExplorerReporter' ],
  singleRun: false,
  browsers: [ 'KarmaTestExplorer_CustomLauncher' ],
  captureTimeout: 90000,
  pingTimeout: 86400000,
  proxies: {},
  proxyValidateSSL: true,
  preprocessors: [Object: null prototype] {
    'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/!(test)/*.js': [ 'coverage' ],
    'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.js': [ 'requirejs-esm' ],
    'C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/**/*.js': [ 'requirejs-esm' ]
  },
  preprocessor_priority: {},
  urlRoot: '/',
  upstreamProxy: undefined,
  reportSlowerThan: 0,
  loggers: [
    {
      type: 'console',
      layout: { type: 'pattern', pattern: '%[%d{DATETIME}:%p [%c]: %]%m' }
    }
  ],
  transports: [ 'polling', 'websocket' ],
  forceJSONP: false,
  plugins: [
    'karma-*',
    {
      'reporter:KarmaTestExplorerReporter': [
        'type',
        [Function: KarmaTestExplorerReporter] {
          '$inject': [ 'baseReporterDecorator', 'emitter', 'logger', 'injector' ]
        }
      ]
    },
    [Object: null prototype] {
      'launcher:KarmaTestExplorer_CustomLauncher': [ 'factory', [Function (anonymous)] ]
    }
  ],
  client: {
    args: [],
    useIframe: true,
    runInParent: false,
    captureConsole: true,
    clearContext: false,
    allowedReturnUrlPatterns: [ '^https?://' ]
  },
  defaultClient: {
    args: [],
    useIframe: true,
    runInParent: false,
    captureConsole: true,
    clearContext: false,
    allowedReturnUrlPatterns: [ '^https?://' ]
  },
  browserDisconnectTimeout: 30000,
  browserDisconnectTolerance: 0,
  browserNoActivityTimeout: 86400000,
  processKillTimeout: 2000,
  concurrency: Infinity,
  failOnEmptyTestSuite: true,
  retryLimit: 3,
  detached: false,
  crossOriginAttribute: true,
  browserSocketTimeout: 30000,
  cmd: 'start',
  configFile: 'C:\\Users\\tcuddy\\.vscode\\extensions\\lucono.karma-test-explorer-0.7.5\\dist\\karma.conf',
  mochaReporter: { symbols: undefined },
  briefReporter: {
    suppressErrorHighlighting: true,
    suppressBrowserLogs: true,
    renderOnRunCompleteOnly: false
  },
  customLaunchers: {
    KarmaTestExplorer_CustomLauncher: {
      base: 'Chrome',
      flags: [
        '--headless',
        '--disable-gpu',
        '--disable-dev-shm-usage',
        '--remote-debugging-port=9222'
      ]
    }
  },
  requirejsEsmPreprocessor: { isScript: [Function: finalIsScript], sourceMap: undefined },
  coverageReporter: {
    reporters: [
      { type: 'text-summary' },
      { type: 'html', dir: 'test/debug/coverage' }
    ],
    check: {
      global: { statements: 100, branches: 100, functions: 100, lines: 100 }
    }
  },
  htmlReporter: { outputDir: 'debug/results' },
  set: [Function (anonymous)]
}

27 09 2022 14:30:32.746:DEBUG [plugin]: Loading karma-* from C:\DEV\project\node_modules

27 09 2022 14:30:32.776:DEBUG [plugin]: Loading plugin C:\DEV\project\node_modules\karma-brief-reporter.

27 09 2022 14:30:32.901:DEBUG [plugin]: Loading plugin C:\DEV\project\node_modules\karma-chrome-launcher.

27 09 2022 14:30:32.908:DEBUG [plugin]: Loading plugin C:\DEV\project\node_modules\karma-coverage.

27 09 2022 14:30:33.406:DEBUG [plugin]: Loading plugin C:\DEV\project\node_modules\karma-html-reporter.

27 09 2022 14:30:33.422:DEBUG [plugin]: Loading plugin C:\DEV\project\node_modules\karma-jasmine.

27 09 2022 14:30:33.424:DEBUG [plugin]: Loading plugin C:\DEV\project\node_modules\karma-mocha-reporter.

27 09 2022 14:30:33.467:DEBUG [plugin]: Loading plugin C:\DEV\project\node_modules\karma-requirejs.

27 09 2022 14:30:33.470:DEBUG [plugin]: Loading plugin C:\DEV\project\node_modules\karma-requirejs-esm-preprocessor.

27 09 2022 14:30:33.578:DEBUG [plugin]: Loading inline plugin defining reporter:KarmaTestExplorerReporter.

27 09 2022 14:30:33.578:DEBUG [plugin]: Loading inline plugin defining launcher:KarmaTestExplorer_CustomLauncher.

27 09 2022 14:30:33.583:INFO [preprocessor.coverage]: coverage not included in reporters [ 'KarmaTestExplorerReporter' ]

27 09 2022 14:30:33.587:DEBUG [web-server]: Instantiating middleware

27 09 2022 14:30:33.593:DEBUG [reporter]: Trying to load reporter: KarmaTestExplorerReporter

27 09 2022 14:30:33.598:DEBUG [reporter]: Trying to load color-version of reporter: KarmaTestExplorerReporter (KarmaTestExplorerReporter_color)

27 09 2022 14:30:33.598:DEBUG [reporter]: Couldn't load color-version.

27 09 2022 14:30:33.624:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.js" due to nocache

27 09 2022 14:30:33.624:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.js" does not match any file.

27 09 2022 14:30:33.625:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.css" due to nocache

27 09 2022 14:30:33.625:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.css" does not match any file.

27 09 2022 14:30:33.625:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.hbs" due to nocache

27 09 2022 14:30:33.625:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.hbs" does not match any file.

27 09 2022 14:30:33.625:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.json" due to nocache

27 09 2022 14:30:33.626:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.json" does not match any file.

27 09 2022 14:30:33.626:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/**/!(*.spec.js)" due to nocache

27 09 2022 14:30:33.626:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/**/!(*.spec.js)" does not match any file.

27 09 2022 14:30:33.626:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/nuc/lib/require.js" does not match any file.

27 09 2022 14:30:33.627:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/nuc/config.js" does not match any file.

27 09 2022 14:30:33.627:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/test/test-debug.js" does not match any file.

27 09 2022 14:30:33.627:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/node_modules/karma-requirejs/lib/adapter.js" does not match any file.

27 09 2022 14:30:33.627:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/test/test-common.js" does not match any file.

27 09 2022 14:30:33.640:DEBUG [karma-server]: List of files has changed, trying to execute

27 09 2022 14:30:33.640:WARN [karma]: No captured browser, open http://localhost:9876/

27 09 2022 14:30:33.687:DEBUG [watcher]: Watching "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/nuc/lib/require.js"
27 09 2022 14:30:33.687:DEBUG [watcher]: Watching "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/nuc/config.js"
27 09 2022 14:30:33.688:DEBUG [watcher]: Watching "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/test/test-debug.js"
27 09 2022 14:30:33.688:DEBUG [watcher]: Watching "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/node_modules/karma-requirejs/lib/adapter.js"
27 09 2022 14:30:33.688:DEBUG [watcher]: Watching "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/test/test-common.js"
27 09 2022 14:30:33.688:DEBUG [watcher]: Watching "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src"
27 09 2022 14:30:33.688:DEBUG [watcher]: Watching "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src"
27 09 2022 14:30:33.689:INFO [karma-server]: Karma v6.4.0 server started at http://localhost:9876/
27 09 2022 14:30:33.689:INFO [launcher]: Launching browsers KarmaTestExplorer_CustomLauncher with concurrency unlimited
27 09 2022 14:30:33.694:INFO [launcher]: Starting browser Chrome
27 09 2022 14:30:33.694:DEBUG [launcher]: null -> BEING_CAPTURED
27 09 2022 14:30:33.695:DEBUG [temp-dir]: Creating temp dir at C:\Users\tcuddy\AppData\Local\Temp\2\karma-78552076
27 09 2022 14:30:33.695:DEBUG [launcher]: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --user-data-dir=C:\Users\tcuddy\AppData\Local\Temp\2\karma-78552076 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-background-timer-throttling --disable-renderer-backgrounding --disable-device-discovery-notifications --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222 http://localhost:9876/?id=78552076

27 09 2022 14:30:34.403:DEBUG [web-server]: serving: C:\DEV\project\node_modules\karma\static/client.html

27 09 2022 14:30:34.528:DEBUG [web-server]: serving: C:\DEV\project\node_modules\karma\static/karma.js

27 09 2022 14:30:34.573:DEBUG [karma-server]: A browser has connected on socket R8vnpha1JdclEroBAAAB

27 09 2022 14:30:34.590:DEBUG [Chrome Headless 105.0.5195.127 (Windows 10)]: undefined -> CONNECTED
27 09 2022 14:30:34.590:INFO [Chrome Headless 105.0.5195.127 (Windows 10)]: Connected on socket R8vnpha1JdclEroBAAAB with id 78552076
27 09 2022 14:30:34.592:DEBUG [launcher]: BEING_CAPTURED -> CAPTURED
27 09 2022 14:30:34.592:DEBUG [launcher]: Chrome (id 78552076) captured in 0.902 secs
27 09 2022 14:30:34.592:DEBUG [karma]: All browsers are ready, executing
27 09 2022 14:30:34.592:DEBUG [karma]: Captured 1 browsers

27 09 2022 14:30:34.613:DEBUG [karma]: Execution (fired by runner)

27 09 2022 14:30:34.630:DEBUG [karma]: Merging client.args with  [ '--grep=/$^/', '--testRunId=vyym62s9f5i' ]
27 09 2022 14:30:34.631:DEBUG [karma]: Refreshing all the files / patterns
27 09 2022 14:30:34.634:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.js" due to nocache
27 09 2022 14:30:34.634:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.js" does not match any file.
27 09 2022 14:30:34.636:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.css" due to nocache
27 09 2022 14:30:34.637:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.css" does not match any file.

27 09 2022 14:30:34.637:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.hbs" due to nocache
27 09 2022 14:30:34.637:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.hbs" does not match any file.

27 09 2022 14:30:34.637:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.json" due to nocache
27 09 2022 14:30:34.637:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/src/**/*.json" does not match any file.
27 09 2022 14:30:34.638:DEBUG [filelist]: Not preprocessing "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/**/!(*.spec.js)" due to nocache
27 09 2022 14:30:34.638:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/**/!(*.spec.js)" does not match any file.
27 09 2022 14:30:34.638:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/nuc/lib/require.js" does not match any file.
27 09 2022 14:30:34.638:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/lib/src/nuc/config.js" does not match any file.
27 09 2022 14:30:34.638:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/test/test-debug.js" does not match any file.
27 09 2022 14:30:34.638:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/node_modules/karma-requirejs/lib/adapter.js" does not match any file.
27 09 2022 14:30:34.638:WARN [filelist]: Pattern "C:/Users/tcuddy/.vscode/extensions/lucono.karma-test-explorer-0.7.5/test/test-common.js" does not match any file.

27 09 2022 14:30:34.641:DEBUG [karma-server]: List of files has changed, trying to execute
27 09 2022 14:30:34.641:DEBUG [karma]: All browsers are ready, executing
27 09 2022 14:30:34.641:DEBUG [karma]: Captured 1 browsers
27 09 2022 14:30:34.642:DEBUG [karma]: All browsers are ready, executing
27 09 2022 14:30:34.642:DEBUG [karma]: Captured 1 browsers

27 09 2022 14:30:34.670:DEBUG [middleware:karma]: custom files null null null
27 09 2022 14:30:34.670:DEBUG [middleware:karma]: Serving static request /context.html

27 09 2022 14:30:34.674:DEBUG [web-server]: serving: C:\DEV\project\node_modules\karma\static/context.html

27 09 2022 14:30:34.705:DEBUG [middleware:karma]: custom files null null null
27 09 2022 14:30:34.705:DEBUG [middleware:karma]: Serving static request /context.html
27 09 2022 14:30:34.705:DEBUG [web-server]: serving (cached): C:\DEV\project\node_modules\karma\static/context.html

27 09 2022 14:30:34.733:DEBUG [web-server]: serving: C:\DEV\project\node_modules\karma\static/context.js

27 09 2022 14:30:34.735:DEBUG [middleware:source-files]: Requesting /absoluteC:/DEV/project/node_modules/jasmine-core/lib/jasmine-core/jasmine.js?0b1eaf7a13cae32191eadea482cfc96ae41fc22b
27 09 2022 14:30:34.735:DEBUG [middleware:source-files]: Fetching C:/DEV/project/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
27 09 2022 14:30:34.736:DEBUG [web-server]: serving (cached): C:/DEV/project/node_modules/jasmine-core/lib/jasmine-core/jasmine.js

27 09 2022 14:30:34.738:DEBUG [middleware:source-files]: Requesting /absoluteC:/DEV/project/node_modules/karma-jasmine/lib/boot.js?945a38bf4e45ad2770eb94868231905a04a0bd3e
27 09 2022 14:30:34.738:DEBUG [middleware:source-files]: Fetching C:/DEV/project/node_modules/karma-jasmine/lib/boot.js
27 09 2022 14:30:34.738:DEBUG [web-server]: serving (cached): C:/DEV/project/node_modules/karma-jasmine/lib/boot.js

27 09 2022 14:30:34.754:DEBUG [middleware:source-files]: Requesting /absoluteC:/DEV/project/node_modules/karma-jasmine/lib/adapter.js?6cf71867f538f40db053c1775b2c56a83696375c
27 09 2022 14:30:34.754:DEBUG [middleware:source-files]: Fetching C:/DEV/project/node_modules/karma-jasmine/lib/adapter.js
27 09 2022 14:30:34.755:DEBUG [web-server]: serving (cached): C:/DEV/project/node_modules/karma-jasmine/lib/adapter.js

27 09 2022 14:30:34.784:DEBUG [Chrome Headless 105.0.5195.127 (Windows 10)]: CONNECTED -> EXECUTING

27 09 2022 14:30:34.793:DEBUG [Chrome Headless 105.0.5195.127 (Windows 10)]: EXECUTING -> CONNECTED

TOTAL: 0 SUCCESS

27 09 2022 14:30:34.880:DEBUG [web-server]: upgrade /socket.io/?EIO=4&transport=websocket&sid=Bvk22_75tyO6yzutAAAA

Screenshots

Please Provide the Following Information

  • OS: Windows 10
    image
  • Karma Version:
λ npm list karma
[email protected] C:\DEV\project
├─┬ @smartui/[email protected]
│ ├─┬ [email protected]
│ │ └── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
└── [email protected]
  • Frameworks: (e.g. Angular, Jasmine, Mocha)
    "jasmine-core": "^2.9.1",

Additional Context
We use a VSCode launch configuration

    {
      "type": "chrome",
      "request": "attach",
      "name": "Tests",
      "address": "localhost",
      "port": 9222,
      "webRoot": "${workspaceRoot}",
      "pathMapping": {
        "/": "${workspaceRoot}/",
        "/base/": "${workspaceRoot}/"
      },
      "preLaunchTask": "Debug Tests"
    }

And tasks to execute tests through the console.

    {
      "label": "Debug Tests",
      "type": "shell",
      "group": "test",
      "isBackground": false,
      "command": "cd test && ../node_modules/.bin/karma start karma.debug.js --browsers=ChromeDebugging --no-single-run --auto-watch",
      //"command": "cd test; ..\\node_modules\\.bin\\karma start karma.debug.js --browsers=ChromeDebugging --no-single-run --auto-watch",
      "windows": {
        "command": "cd test; ..\\node_modules\\.bin\\karma start karma.debug.js --browsers=ChromeDebugging --no-single-run --auto-watch"
      },
      "problemMatcher": {
        "owner": "javascript",
        "severity": "error",
        "fileLocation": ["relative", "${workspaceFolder}"],
        "pattern": [
          {
            "regexp": "^\\s*(.*)",
            "code": 1
          },
          {
            "regexp": "^\\s*"
          },
          {
            "regexp": "(?:\\d+\\) )?(?:Error: )?(Expected .*)",
            "message": 1
          },
          // {
          //   "regexp": "(?:at )?<Jasmine>"
          // },
          {
            "regexp": "^\\s*(?:at [^ ]+ \\(|@)(.+):(\\d+):(\\d+)\\)",
            "file": 1,
            "line": 2,
            "column": 3
          }
        ],
        "background": {
          "activeOnStart": true,
          "beginsPattern": "^\\d+",
          "endsPattern": "^\\s*\\d+\\s+total"
        }
      }
    }

Support for Angular in Electron env

Is Your Feature Request related to a Problem? Please Describe

-Does this support Angular in Electron Env? I am not sure if this already exist, but atleast it is not well documented (I think).

To clarify to use karma with electron I have to use karma-electron and also added require("karma-electron") to the plugins of karma.conf.js. This seems very standart to me but I am not familiar, so i might be wrong.

Can't see or run any tests if one of them has an error in the code.

Describe the Bug
I'm newish with VSCode and honestly hate this IDE.
Aside from that I'm new to Angular Testing.
I found your plugin and have spent countless days trying to figure out how to get it to work.
What I had finally discovered was that the projects existing test code that I'm to run has errors in the tests.
If I comment out all of those tests that contain errors, then your extension will load up the working tests and I can run the tests through your extension.

  • A clear and concise description of what the bug is.
  • see above

Steps to Reproduce the Behavior
Create some tests and then create some tests that do not properly create the services that are needed for the components.
I'd give an example but honestly I don't really know how to do these tests yet. I was to use the project as a learning stage but the project is riddled with issues in the code as well as the tests.

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Describe the Expected Behavior

  • A clear and concise description of what you expected to happen.

Provide Debug Logs

  • With the karmaTestExplorer.logLevel set to debug, please capture and attach the logs from the Karma Test Explorer Output chanel when the issue occurs.
  • Please also capture and attach the logs from the Karma Server Output channel when the issue occurs.
    I do not know what this setting is or where it is that I would set this value?
    If you can provide details on this I may be able to update the ticket with this information.

Screenshots

  • If applicable, add screenshots to help explain the issue you are having.

Please Provide the Following Information

  • OS: (e.g. macOS)
    • Linux
  • Environment: (e.g. Dev Container with Guest OS and version)
    • CENTOS8
  • Node Version: (e.g. 14.x)
    • 14.x
  • VS Code Version:
    • 1.69.1
  • Karma Version:
    • 6.3.16
  • Frameworks: (e.g. Angular, Jasmine, Mocha)
    • Angular, Jasmine

Additional Context

  • Add any other context about the problem here.

Decorators in test fail to compile

Describe the Bug

When I use a decorator in a test, it fails to map the file.

[TestLocator]: Failed to get tests from spec file /home/thomas/projects/schulung/bulletin-board/src/app/registration/user-registration/password-toggle/password-toggle.directive.spec.ts: SyntaxError: This experimental syntax requires enabling one of the following parser plugin(s): "decorators", "decorators-legacy". (5:0)

Steps to Reproduce the Behavior

it('shows a decorator', () => {

  
    @serializable
    class APIPayload {
        getValue(): Payload {
            return 0
        }
    }

    type Payload = number
   
    type ClassConstructor<T> = new(...args: any[]) => T

    function serializable<T extends ClassConstructor<{
        getValue(): Payload 
    }>>(Constructor: T) {

        return class extends Constructor {  
            serialize() {
                return this.getValue().toString()
            }
        }
    }

  })

Describe the Expected Behavior

U expect the test to be mapped.

  • Node Version: 16
  • VS Code Version: 1.70.1
  • Karma Version: 6.4
  • Frameworks: (e.g. Angular, Jasmine, Mocha) Angular, Jasmine

Server start failed (can't find angular.json)

Since version 0.7.2, I get this error when karma starts :

------------------------------------
Karma Test Explorer: Launching Karma
------------------------------------

29 07 2022 11:37:39.750:ERROR [karma-server]: Server start failed on port 9976: Error: The '@angular-devkit/build-angular/plugins/karma' karma plugin is meant to be used from within Angular CLI and will not work correctly outside of it.

I reverted to 0.7.1 and I don't get this error

I've set the log level of the extention to trace and it seems it can't find my angular.json :

[2022-07-29 15:52:22.253] [DEBUG] [ProjectFactory]: Cannot get Angular projects - Angular Json file does not exist: /Program Files/Microsoft VS Code/C:/scan/git/scan/Scan Factory Intelligence GUI NG App/angular.json

Nx support

Is Your Feature Request related to a Problem? Please Describe

Iam trying to use the extension with a project that uses nx to build.
We use angular + karma + jasmine.

With default settings, the server crashes with:
19 06 2023 14:21:33.457:ERROR [karma-server]: Server start failed on port 9976: Error: The '@angular-devkit/build-angular/plugins/karma' karma plugin is meant to be used from within Angular CLI and will not work correctly outside of it.

Setting in manually to angular also doesnt work, since there is only an nx.json and the extension falls back to karma.

I use a custom batch file containing only "C:\Program Files\nodejs\npx.cmd" nx test --karma-config %2 as "karmaTestExplorer.karmaProcessCommand",
since passing anything but an absolute path without options to this option results in in the command not beeing found.

Iam not really a web developer and would be thankfull for any guidance on this.
Did i overlook an obvious solution?

tests are unmapped and "can't run new tests - another operation is running"

Hi, thanks for your work!
Here 's the problem (actually it's two-fold, and I don't know if the two problems are related or not):

  • Every test is marked as 'unmapped'.
  • Everytime I try to execute a test, I get the message 'cannot run new test - another test operation is still running'
    even though no test is actually running.

Here's how my project is setup:

<vsCodeRoot>
|- packages
|   |- back
|   |- common
|   |- front
|       |- src
|       |- tsconfig.json
|       |- tsconfig.spec.json
|       |- karma.conf.js
|       |- package.json
|       |- angular.json
|- package.json

NB: @angular/cli, karma*, jasmine etc are all part of packages/front npm workspace.

Describe the Expected Behavior

  • Tests should be mapped to the right place on disk and it would be great if the name of the running test was given in the error message so that I could get a sense of what's going on.

Provide Debug Logs

[2022-02-24 01:49:32.268] [DEBUG] [Main]: Activating adapter for workspace folder 'C:/julien/projets/programmers/Src/WebUi' because the extension has been explicitly enabled by setting the 'karmaTestExplorer.enableExtension' setting to true
[2022-02-24 01:49:32.268] [INFO] [Main]: Activating Karma Test Explorer for workspace folder: C:/julien/projets/programmers/Src/WebUi
[2022-02-24 01:49:32.270] [DEBUG] [Adapter]: Initializing adapter
[2022-02-24 01:49:32.270] [DEBUG] [Adapter]: Using extension configuration: {
  "logger": {
    "loggerName": "ExtensionConfig",
    "disposables": [],
    "appender": {
      "outputChannelName": "Karma Test Explorer",
      "options": {
        "enabled": true,
        "lazyCreate": false
      },
      "outputChannel": {
        "name": "Karma Test Explorer"
      }
    },
    "logLevel": "debug"
  },
  "projectRootPath": "C:/julien/projets/programmers/Src/WebUi/packages/front",
  "karmaPort": 9976,
  "karmaProcessCommand": "yarn run karma",
  "testTriggerMethod": "http",
  "failOnStandardError": false,
  "testsBasePath": "C:/julien/projets/programmers/Src/WebUi/packages/front",
  "defaultSocketConnectionPort": 9999,
  "logLevel": "debug",
  "karmaLogLevel": "debug",
  "karmaReporterLogLevel": "info",
  "autoWatchEnabled": true,
  "autoWatchBatchDelay": 500,
  "karmaReadyTimeout": 900000,
  "baseKarmaConfFilePath": "C:/Users/EXT-Julien.Teyteau/.vscode/extensions/lucono.karma-test-explorer-0.5.0/dist/karma.conf",
  "testGrouping": "folder",
  "flattenSingleChildFolders": true,
  "environment": {},
  "projectType": null,
  "testFramework": null,
  "reloadOnKarmaConfigChange": true,
  "defaultAngularProjectName": "",
  "customLauncher": {
    "base": "Chrome",
    "flags": [
      "--remote-debugging-port=9222"
    ]
  },
  "testFiles": [
    "**/*{.,-,_}{test,spec}.{ts,js}",
    "**/{test,spec}{.,-,_}*.{ts,js}"
  ],
  "allowGlobalPackageFallback": false,
  "excludeDisabledTests": false,
  "showOnlyFocusedTests": false,
  "showUnmappedTests": true,
  "showTestDefinitionTypeIndicators": true,
  "debuggerConfig": {
    "name": "Karma Test Explorer Debugging",
    "type": "pwa-chrome",
    "request": "attach",
    "browserAttachLocation": "workspace",
    "address": "localhost",
    "port": 9222,
    "timeout": 60000,
    "webRoot": "C:/julien/projets/programmers/Src/WebUi/packages/front"
  },
  "userKarmaConfFilePath": "C:/julien/projets/programmers/Src/WebUi/packages/front/karma.conf.js",
  "reloadOnChangedFiles": [],
  "defaultDebugPort": 9222,
  "excludeFiles": [
    "**/node_modules/**/*"
  ]
}
[2022-02-24 01:49:32.270] [DEBUG] [Adapter]: Creating notifications manager
[2022-02-24 01:49:32.270] [DEBUG] [Adapter]: Creating main factory
[2022-02-24 01:49:32.271] [INFO] [MainFactory]: Using project type: Angular (auto-detected)
[2022-02-24 01:49:32.271] [DEBUG] [MainFactory]: Detecting test framework from karma config file: C:\julien\projets\programmers\Src\WebUi\packages\front\karma.conf.js
[2022-02-24 01:49:32.271] [DEBUG] [FileHandler]: Reading file synchronously: C:\julien\projets\programmers\Src\WebUi\packages\front\karma.conf.js
[2022-02-24 01:49:32.271] [DEBUG] [MainFactory]: Detected frameworks from karma config: jasmine, @angular-devkit/build-angular
[2022-02-24 01:49:32.271] [DEBUG] [MainFactory]: Detected test framework: jasmine
[2022-02-24 01:49:32.271] [INFO] [MainFactory]: Using test framework: jasmine (auto-detected)
[2022-02-24 01:49:32.271] [DEBUG] [MainFactory]: Creating test helper
[2022-02-24 01:49:32.271] [DEBUG] [MainFactory]: Creating test locator
[2022-02-24 01:49:32.272] [INFO] [MainFactory]: Getting test details from test files
[2022-02-24 01:49:32.272] [DEBUG] [TestLocator]: Received request to refresh all spec file(s): ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2022-02-24 01:49:32.272] [DEBUG] [TestLocator]: No refresh currently in progress - will commence new refresh for files: ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2022-02-24 01:49:32.272] [DEBUG] [TestLocator]: Refreshing all spec file(s): ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2022-02-24 01:49:32.278] [DEBUG] [MainFactory]: Creating debugger
[2022-02-24 01:49:32.278] [DEBUG] [MainFactory]: Creating test store
[2022-02-24 01:49:32.278] [DEBUG] [Adapter]: Creating file watchers
[2022-02-24 01:49:32.278] [DEBUG] [Adapter]: Creating file watchers for monitored files
[2022-02-24 01:49:32.278] [DEBUG] [Adapter]: Registering file handler for files: [
  "karma.conf.js"
]
[2022-02-24 01:49:32.278] [DEBUG] [Adapter]: Creating file watcher for file or pattern 'karma.conf.js' using base path: c:\julien\projets\programmers\Src\WebUi
[2022-02-24 01:49:32.279] [DEBUG] [Adapter]: Creating file watchers for test file changes
[2022-02-24 01:49:32.279] [DEBUG] [Adapter]: Registering file handler for files: [
  "**/*{.,-,_}{test,spec}.{ts,js}",
  "**/{test,spec}{.,-,_}*.{ts,js}"
]
[2022-02-24 01:49:32.279] [DEBUG] [Adapter]: Creating file watcher for file or pattern '**/*{.,-,_}{test,spec}.{ts,js}' using base path: c:\julien\projets\programmers\Src\WebUi
[2022-02-24 01:49:32.279] [DEBUG] [Adapter]: Creating file watcher for file or pattern '**/{test,spec}{.,-,_}*.{ts,js}' using base path: c:\julien\projets\programmers\Src\WebUi
[2022-02-24 01:49:32.279] [DEBUG] [Adapter]: Getting test locator
[2022-02-24 01:49:32.279] [DEBUG] [Adapter]: Getting debugger
[2022-02-24 01:49:32.279] [DEBUG] [Adapter]: Getting test store
[2022-02-24 01:49:32.279] [DEBUG] [Adapter]: Creating test manager
[2022-02-24 01:49:32.280] [DEBUG] [AngularFactory]: Creating Angular test server executor
[2022-02-24 01:49:32.280] [INFO] [AngularFactory]: Using default Angular project 'programmer-front' at root path 'C:\julien\projets\programmers\Src\WebUi\packages\front' and karma config file 'C:\julien\projets\programmers\Src\WebUi\packages\front\karma.conf.js'
[2022-02-24 01:49:32.281] [DEBUG] [KarmaFactory]: Creating Karma http test run executor
[2022-02-24 01:49:32.281] [DEBUG] [Adapter]: Test load started
[2022-02-24 01:49:32.282] [DEBUG] [Adapter]: Test hard refresh started
[2022-02-24 01:49:32.282] [DEBUG] [TestLocator]: Received request to refresh all spec file(s): ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2022-02-24 01:49:32.282] [DEBUG] [TestLocator]: Prior refresh still in progress - queing subsequent refresh for files: ["**/*{.,-,_}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]
[2022-02-24 01:49:32.282] [DEBUG] [Adapter]: Refresh request - Test manager is not started - Starting it
[2022-02-24 01:49:32.283] [DEBUG] [Main]: Done activating adapter for workspace folder: C:/julien/projets/programmers/Src/WebUi
[2022-02-24 01:49:32.332] [DEBUG] [PortAcquisitionManager]: Request for 1 port(s) at base port 9976 acquired: 9976
[2022-02-24 01:49:32.332] [INFO] [DefaultTestManager]: Using requested --> available karma port: 9976 --> 9976
[2022-02-24 01:49:32.339] [DEBUG] [PortAcquisitionManager]: Request for 1 port(s) at base port 9999 acquired: 9999
[2022-02-24 01:49:32.339] [INFO] [DefaultTestManager]: Using requested --> available karma listener socket port: 9999 --> 9999
[2022-02-24 01:49:32.351] [DEBUG] [PortAcquisitionManager]: Request for 1 port(s) at base port 9222 acquired: 9223
[2022-02-24 01:49:32.351] [INFO] [DefaultTestManager]: Using requested --> available debug port: 9222 --> 9223
[2022-02-24 01:49:32.352] [DEBUG] [KarmaTestListener]: Attempting to listen on port 9999
[2022-02-24 01:49:32.354] [INFO] [KarmaTestServer]: Starting karma server
[2022-02-24 01:49:32.354] [DEBUG] [AngularTestServerExecutor]: Executing server start with karma port '9976' and karma socket port '9999'
[2022-02-24 01:49:32.355] [DEBUG] [AngularTestServerExecutor]: Found '@angular/cli' local package at: C:\julien\projets\programmers\Src\WebUi\packages\front\node_modules\@angular\cli
[2022-02-24 01:49:32.378] [DEBUG] [AngularTestServerExecutor::CommandLineProcessHandler]: Process ex5e5xahnz: 
Executing command: 'C:\Program Files\nodejs\node.EXE' 
with args: ["C:\\julien\\projets\\programmers\\Src\\WebUi\\packages\\front\\node_modules\\@angular\\cli\\bin\\ng","test","programmer-front","--karma-config=C:/Users/EXT-Julien.Teyteau/.vscode/extensions/lucono.karma-test-explorer-0.5.0/dist/karma.conf","--progress=false","--no-watch"]
[2022-02-24 01:49:32.383] [DEBUG] [AngularTestServerExecutor::CommandLineProcessHandler]: Process ex5e5xahnz - process spawned successfully with PID 11448 for command: C:\Program Files\nodejs\node.EXE C:\julien\projets\programmers\Src\WebUi\packages\front\node_modules\@angular\cli\bin\ng test programmer-front --karma-config=C:/Users/EXT-Julien.Teyteau/.vscode/extensions/lucono.karma-test-explorer-0.5.0/dist/karma.conf --progress=false --no-watch
[2022-02-24 01:49:32.384] [INFO] [KarmaTestListener]: Waiting for Karma to connect on port 9999
[2022-02-24 01:49:56.339] [INFO] [KarmaTestListener]: Established new connection with Karma on port 9999
[2022-02-24 01:49:56.339] [DEBUG] [KarmaTestListener]: Listening for Karma events
[2022-02-24 01:49:56.355] [DEBUG] [KarmaTestListener]: Received Karma event: file_list_modified
[2022-02-24 01:49:56.355] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: file_list_modified
[2022-02-24 01:49:56.453] [DEBUG] [KarmaTestListener]: Received Karma event: listening
[2022-02-24 01:49:56.453] [DEBUG] [KarmaTestRunProcessor]: Karma server on karma port 9976 is ready for requests
[2022-02-24 01:49:58.693] [DEBUG] [KarmaTestListener]: Received Karma event: browsers_change
[2022-02-24 01:49:58.693] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browsers_change
[2022-02-24 01:49:58.693] [DEBUG] [KarmaTestListener]: Received Karma event: browser_register
[2022-02-24 01:49:58.693] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_register
[2022-02-24 01:49:58.693] [DEBUG] [KarmaTestListener]: Received Karma event: browsers_ready
[2022-02-24 01:49:58.693] [DEBUG] [KarmaTestRunProcessor]: Browsers connected and ready for test execution
[2022-02-24 01:49:58.693] [DEBUG] [KarmaTestListener]: Received Karma event: run_start
[2022-02-24 01:49:58.694] [DEBUG] [KarmaTestRunProcessor]: Test run started for browsers: Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:49:58.694] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Beginning ambient test event processing
[2022-02-24 01:49:58.694] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to begin test event processing
[2022-02-24 01:49:58.694] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Proceeding to begin processing test events
[2022-02-24 01:50:00.616] [DEBUG] [KarmaTestListener]: Received Karma event: browser_start
[2022-02-24 01:50:00.616] [DEBUG] [KarmaTestRunProcessor]: Test run started in browser: Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.616] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.616] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.793] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.793] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec14' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.793] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec14
[2022-02-24 01:50:00.793] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.794] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec14
[2022-02-24 01:50:00.794] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec14' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.794] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec14
[2022-02-24 01:50:00.794] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.794] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.794] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.794] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.794] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.804] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.805] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec18' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.805] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec18
[2022-02-24 01:50:00.805] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.805] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec18
[2022-02-24 01:50:00.805] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.805] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.805] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec17' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.805] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec17
[2022-02-24 01:50:00.805] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.805] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec17
[2022-02-24 01:50:00.805] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.806] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.807] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec19' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.807] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec19
[2022-02-24 01:50:00.807] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.807] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec19
[2022-02-24 01:50:00.807] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.811] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.811] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec20' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.811] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec20
[2022-02-24 01:50:00.811] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.811] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec20
[2022-02-24 01:50:00.811] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.816] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.816] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec21' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.816] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec21
[2022-02-24 01:50:00.816] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.816] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec21
[2022-02-24 01:50:00.816] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.821] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.821] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec22' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.821] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec22
[2022-02-24 01:50:00.821] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.821] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec22
[2022-02-24 01:50:00.821] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.821] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.821] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec23' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.821] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec23
[2022-02-24 01:50:00.821] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.821] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec23
[2022-02-24 01:50:00.821] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec15' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.826] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec15
[2022-02-24 01:50:00.826] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.826] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec15
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.826] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.843] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.843] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec4' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.843] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec4
[2022-02-24 01:50:00.843] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.843] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec4
[2022-02-24 01:50:00.843] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.843] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.843] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.843] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.843] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.855] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.855] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec5' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.855] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec5
[2022-02-24 01:50:00.855] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.855] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec5
[2022-02-24 01:50:00.855] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec5' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.855] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec5
[2022-02-24 01:50:00.855] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.855] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.855] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.855] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.855] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.859] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.859] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec0' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.859] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec0
[2022-02-24 01:50:00.859] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.859] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec0
[2022-02-24 01:50:00.859] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec0' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.859] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec0
[2022-02-24 01:50:00.859] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.860] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.860] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.860] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.860] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.872] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.872] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.881] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.883] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.890] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.890] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.890] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.891] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestListener]: Received Karma event: browser_log
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_log
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec24' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.900] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec24
[2022-02-24 01:50:00.900] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.900] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec24
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.900] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec13' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.901] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec13
[2022-02-24 01:50:00.901] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.901] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec13
[2022-02-24 01:50:00.901] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec13' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.901] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec13
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec16' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.901] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec16
[2022-02-24 01:50:00.901] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.901] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec16
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.901] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec12' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.909] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec12
[2022-02-24 01:50:00.909] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.909] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec12
[2022-02-24 01:50:00.909] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec12' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.909] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec12
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec1' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.909] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec1
[2022-02-24 01:50:00.909] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.909] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec1
[2022-02-24 01:50:00.909] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.914] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.915] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec3' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.915] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec3
[2022-02-24 01:50:00.915] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.915] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec3
[2022-02-24 01:50:00.915] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.915] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.915] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec2' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.915] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec2
[2022-02-24 01:50:00.915] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Success
[2022-02-24 01:50:00.915] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec2
[2022-02-24 01:50:00.915] [DEBUG] [KarmaTestRunProcessor]: [SUCCESS] ✅ Passed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.915] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.915] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.915] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.915] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.923] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.923] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec7' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.923] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec7
[2022-02-24 01:50:00.923] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.923] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec7
[2022-02-24 01:50:00.923] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec7' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.923] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec7
[2022-02-24 01:50:00.923] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.930] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.930] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec6' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.930] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec6
[2022-02-24 01:50:00.930] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.930] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec6
[2022-02-24 01:50:00.930] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec6' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.930] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec6
[2022-02-24 01:50:00.930] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.930] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.930] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.930] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.930] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.931] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.931] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec8' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.931] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec8
[2022-02-24 01:50:00.931] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.931] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec8
[2022-02-24 01:50:00.931] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec8' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.931] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec8
[2022-02-24 01:50:00.931] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.937] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.937] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec9' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.937] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec9
[2022-02-24 01:50:00.937] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.937] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec9
[2022-02-24 01:50:00.937] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec9' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.937] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec9
[2022-02-24 01:50:00.937] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.944] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.944] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec11' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.944] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec11
[2022-02-24 01:50:00.944] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.944] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec11
[2022-02-24 01:50:00.945] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec11' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.945] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec11
[2022-02-24 01:50:00.945] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.951] [DEBUG] [KarmaTestListener]: Received Karma event: spec_complete
[2022-02-24 01:50:00.951] [DEBUG] [KarmaTestRunProcessor]: Processing received spec id 'spec10' with test processor: KarmaAutoWatchTestEventProcessor
[2022-02-24 01:50:00.951] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test result event for test id: spec10
[2022-02-24 01:50:00.951] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to process test result event having status: Failed
[2022-02-24 01:50:00.951] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Processing test result event for test id: spec10
[2022-02-24 01:50:00.951] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Cannot create test failure decorations for test id 'spec10' - No (0) candidate test definitions matched the file of the error stack. Candidate test definitions: []
[2022-02-24 01:50:00.951] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Filtering Failed test result event for test id: spec10
[2022-02-24 01:50:00.951] [DEBUG] [KarmaTestRunProcessor]: [FAILURE] ❌ Failed - Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:00.951] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.951] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.951] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.951] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:00.951] [DEBUG] [KarmaTestListener]: Received Karma event: browser_info
[2022-02-24 01:50:00.951] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_info
[2022-02-24 01:50:01.030] [DEBUG] [KarmaTestListener]: Received Karma event: browsers_change
[2022-02-24 01:50:01.030] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browsers_change
[2022-02-24 01:50:01.030] [DEBUG] [KarmaTestListener]: Received Karma event: browser_complete
[2022-02-24 01:50:01.030] [DEBUG] [KarmaTestRunProcessor]: Test run completed in browser: Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:01.030] [DEBUG] [KarmaTestListener]: Received Karma event: browser_complete_with_no_more_retries
[2022-02-24 01:50:01.030] [DEBUG] [KarmaTestRunProcessor]: Ignoring received karma event: browser_complete_with_no_more_retries
[2022-02-24 01:50:01.031] [DEBUG] [KarmaTestListener]: Received Karma event: run_complete
[2022-02-24 01:50:01.031] [DEBUG] [KarmaTestRunProcessor]: Test run completed with status 'Complete' for browsers: Chrome 98.0.4758.102 (Windows 10)
[2022-02-24 01:50:01.031] [DEBUG] [KarmaTestRunProcessor]: Received 'run_complete' event with run Id 'undefined' while no requested user test capture
[2022-02-24 01:50:01.031] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Request to conclude test event processing
[2022-02-24 01:50:01.031] [DEBUG] [KarmaAutoWatchTestEventProcessor::KarmaTestEventProcessor]: Test event processor is currently processing - Concluding current processing
[2022-02-24 01:50:01.035] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Concluding ambient test event processing
[2022-02-24 01:50:01.035] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Retiring 0 skipped ambient test ids
[2022-02-24 01:50:01.035] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Done concluding ambient test event processing
[2022-02-24 01:50:01.035] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient test load events
[2022-02-24 01:50:01.036] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec14
[2022-02-24 01:50:01.036] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec14
[2022-02-24 01:50:01.036] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec18
[2022-02-24 01:50:01.036] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec18
[2022-02-24 01:50:01.036] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec17
[2022-02-24 01:50:01.036] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec17
[2022-02-24 01:50:01.036] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec19
[2022-02-24 01:50:01.036] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec19
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec20
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec20
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec21
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec21
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec22
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec22
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec23
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec23
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec15
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec15
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec4
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec4
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec5
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec5
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec0
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec0
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec24
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec24
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec13
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec13
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec16
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec16
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec12
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec12
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec1
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec1
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec3
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec3
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec2
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec2
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec7
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec7
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec6
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec6
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec8
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec8
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec9
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec9
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec11
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec11
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Undetermine test definition location for spec Id: spec10
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Focus filter criteria includes test id: spec10
[2022-02-24 01:50:01.037] [DEBUG] [DefaultTestBuilder]: Processed 25 specs to build tests
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[WaveformChartConfiguratorComponent]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[PrintUnitPipe]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[BooleanAttributePipe]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[CursorParentComponent]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[LegendComponent]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[CrmLogger]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[TodoComponent]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[SelectComponent]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[DurationPipe]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[ToastsManagerComponent]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[DatagramQueue]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Got test with unknown file - Test Id is: :[SleepApneaChart]
[2022-02-24 01:50:01.037] [DEBUG] [TestSuiteOrganizer]: Rearranged 0 test files into folders
[2022-02-24 01:50:01.038] [DEBUG] [TestDiscoveryProcessor]: Test discovery - 25 total tests discovered from Karma
[2022-02-24 01:50:01.038] [DEBUG] [TestStore]: Clearing stored tests
[2022-02-24 01:50:01.038] [DEBUG] [TestStore]: Updating stored tests
[2022-02-24 01:50:01.041] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Done processing ambient test load events
[2022-02-24 01:50:01.041] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Processing ambient filtered test events
[2022-02-24 01:50:01.041] [DEBUG] [KarmaAutoWatchTestEventProcessor]: Done processing ambient filtered test events

Screenshots

image

image

Please Provide the Following Information

  • OS: Windows 11
  • Environment: normal (No dev container)
  • Node Version: 16.13.0
  • VSCode Version: 1.64.2
  • Karma Version: 6.3.4
  • Frameworks: Angular, Jasmine

Additional Context

Here's how I configured the extension:

{
  // ...
  "karmaTestExplorer.autoWatchBatchDelay": 500,
  "karmaTestExplorer.nonHeadlessModeEnabled": true,
  "testExplorer.useNativeTesting": true,
  "karmaTestExplorer.karmaProcessCommand": "yarn run karma",
  "karmaTestExplorer.karmaLogLevel": "debug",
  "karmaTestExplorer.logLevel": "debug",
  "karmaTestExplorer.karmaReporterLogLevel": "info",
  "karmaTestExplorer.projectRootPath": "packages/front",
  "karmaTestExplorer.webRoot": "${workspaceFolder}/packages/front",
  "karmaTestExplorer.enableExtension": true,
  // ... 

Did I do something wrong?

Can not run in Angular 11

I just installed and tried to run an recived a error:
PS: The command ng test is working great.
image

Can not load "KarmaTestExplorerReporter"!
TypeError [ERR_WORKER_UNSUPPORTED_EXTENSION]: The worker script extension must be ".js" or ".mjs". Received ".cjs"

Log Karma Server:


Karma Test Explorer: Launching Karma

05 05 2023 14:01:41.085:WARN [karma-server]: Passing raw CLI options to new Server(config, done) is deprecated. Use parseConfig(configFilePath, cliOptions, {promiseConfig: true, throwErrors: true}) to prepare a processed Config instance and pass that as the config argument instead.

[2023-05-05 17:01:41.105] [DEBUG] [KarmaConfigLoader]: Loading Karma config: C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib/karma.conf.js

[2023-05-05 17:01:41.314] [DEBUG] [KarmaConfigLoader]: Using custom launcher: {
"base": "Chrome",
"flags": [
"--headless",
"--disable-gpu",
"--disable-dev-shm-usage",
"--remote-debugging-port=9222"
]
}

05 05 2023 14:01:45.379:ERROR [reporter]: Can not load "KarmaTestExplorerReporter"!
TypeError [ERR_WORKER_UNSUPPORTED_EXTENSION]: The worker script extension must be ".js" or ".mjs". Received ".cjs"
at new Worker (internal/worker.js:85:15)
at Pe.KarmaTestExplorerReporter (C:\Users\lucas.gomes.vscode\extensions\lucono.karma-test-explorer-0.8.2\dist\karma.conf.cjs:1:109835)
at invoke (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\di\lib\injector.js:75:15)
at Array.instantiate (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\di\lib\injector.js:59:20)
at Injector.get (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\di\lib\injector.js:48:43)
at C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\karma\lib\reporter.js:118:75
at Array.forEach ()
at createReporters (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\karma\lib\reporter.js:100:9)
at Array.invoke (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\di\lib\injector.js:75:15)
at get (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\di\lib\injector.js:48:43)
at C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\di\lib\injector.js:71:14
at Array.map ()
at Injector.invoke (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\di\lib\injector.js:70:31)
at createWebServer (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\karma\lib\web-server.js:74:24)
at Array.invoke (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\di\lib\injector.js:75:15)
at Injector.get (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\di\lib\injector.js:48:43)
at Server._start (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\karma\lib\server.js:215:38)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Server.start (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\karma\lib\server.js:155:7)

05 05 2023 14:01:45.399:WARN [karma]: No captured browser, open http://localhost:9976/

05 05 2023 14:01:45.401:INFO [karma-server]: Karma v6.4.2 server started at http://localhost:9976/
05 05 2023 14:01:45.402:INFO [launcher]: Launching browsers KarmaTestExplorer_CustomLauncher with concurrency unlimited

05 05 2023 14:01:45.402:ERROR [karma-server]: Error: Found 1 load error
at Server. (C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\karma\lib\server.js:243:26)
at Object.onceWrapper (events.js:298:28)
at Server.emit (events.js:214:15)
at emitListeningNT (net.js:1332:10)
at processTicksAndRejections (internal/process/task_queues.js:79:21)

Log Test Explorer:

[2023-05-05 17:08:30.977] [INFO] [Adapter]: Resetting adapter
[2023-05-05 17:08:30.977] [DEBUG] [KarmaTestExplorer]: Test operation cancellation requested - Aborting any currently running test operation
[2023-05-05 17:08:30.977] [DEBUG] [DefaultTestManager]: Stopping test manager
[2023-05-05 17:08:30.977] [DEBUG] [DefaultTestManager]: Karma event listener is already stopped
[2023-05-05 17:08:30.977] [DEBUG] [DefaultTestManager]: Karma server is already stopped
[2023-05-05 17:08:30.977] [DEBUG] [DefaultTestManager]: Stopped test manager
[2023-05-05 17:08:30.978] [DEBUG] [DefaultTestManager]: Stopping test manager
[2023-05-05 17:08:30.979] [DEBUG] [DefaultTestManager]: Karma event listener is already stopped
[2023-05-05 17:08:30.979] [DEBUG] [DefaultTestManager]: Karma server is already stopped
[2023-05-05 17:08:30.979] [DEBUG] [DefaultTestManager]: Stopped test manager
[2023-05-05 17:08:30.982] [DEBUG] [Adapter]: Assembling new test explorer
[2023-05-05 17:08:30.982] [DEBUG] [Adapter]: Re/creating test explorer with extension configuration: {
"logger": {
"loggerName": "ExtensionConfig",
"appender": {
"outputChannelName": "Karma Test Explorer (bs-workspace: corretor-lib)",
"options": {
"enabled": true,
"lazyCreate": false
},
"outputChannel": {
"name": "Karma Test Explorer (bs-workspace: corretor-lib)"
}
},
"logLevel": "debug"
},
"projectType": "angular",
"projectName": "corretor-lib",
"projectPath": "C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib",
"projectInstallRootPath": "C:/Users/lucas.gomes/Documents/repos/bs-workspace",
"projectKarmaConfigFilePath": "C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib/karma.conf.js",
"baseKarmaConfFilePath": "C:/Users/lucas.gomes/.vscode/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs",
"karmaPort": 9976,
"testTriggerMethod": "http",
"testParsingMethod": "ast",
"failOnStandardError": false,
"defaultSocketConnectionPort": 9999,
"logLevel": "debug",
"karmaLogLevel": "info",
"karmaReporterLogLevel": "disable",
"autoWatchEnabled": true,
"karmaReadyTimeout": 900000,
"testGrouping": "folder",
"flattenSingleChildFolders": true,
"environment": {},
"envExclude": [],
"reloadOnKarmaConfigChange": true,
"customLauncher": {
"base": "Chrome",
"flags": [
"--headless",
"--disable-gpu",
"--disable-dev-shm-usage",
"--remote-debugging-port=9222"
]
},
"testFiles": [
"/*{.,-,_}{test,spec}.{ts,js}",
"
/{test,spec}{.,-,}.{ts,js}"
],
"allowGlobalPackageFallback": true,
"excludeDisabledTests": false,
"showOnlyFocusedTests": false,
"showUnmappedTests": true,
"showTestDefinitionTypeIndicators": true,
"debuggerConfig": {
"name": "Karma Test Explorer Debugging",
"type": "chrome",
"request": "attach",
"browserAttachLocation": "workspace",
"address": "localhost",
"port": 9222,
"timeout": 60000,
"webRoot": "C:/Users/lucas.gomes/Documents/repos/bs-workspace"
},
"reloadOnChangedFiles": [],
"defaultDebugPort": 9222,
"excludeFiles": [
"/node_modules//
"
]
}
[2023-05-05 17:08:30.982] [DEBUG] [Adapter]: Creating main factory
[2023-05-05 17:08:30.982] [DEBUG] [MainFactory]: Detecting test framework from karma config file: C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib/karma.conf.js
[2023-05-05 17:08:30.982] [DEBUG] [SimpleFileHandler]: Reading file synchronously: C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib/karma.conf.js
[2023-05-05 17:08:30.982] [DEBUG] [MainFactory]: Detected frameworks from karma config: jasmine, @angular-devkit/build-angular
[2023-05-05 17:08:30.982] [DEBUG] [MainFactory]: Detected test framework: jasmine
[2023-05-05 17:08:30.982] [INFO] [MainFactory]: Using test framework: jasmine (auto-detected)
[2023-05-05 17:08:30.982] [DEBUG] [MainFactory]: Creating test helper
[2023-05-05 17:08:30.982] [DEBUG] [MainFactory]: Creating process handler
[2023-05-05 17:08:30.982] [DEBUG] [MainFactory]: Creating test locator
[2023-05-05 17:08:30.982] [DEBUG] [MainFactory]: Creating AST test definition provider
[2023-05-05 17:08:30.982] [DEBUG] [MainFactory]: Creating test store
[2023-05-05 17:08:30.982] [DEBUG] [Adapter]: Getting process handler from factory
[2023-05-05 17:08:30.983] [DEBUG] [Adapter]: Getting test locator from factory
[2023-05-05 17:08:30.983] [DEBUG] [Adapter]: Getting test store from factory
[2023-05-05 17:08:30.983] [DEBUG] [Adapter]: Getting test manager from factory
[2023-05-05 17:08:30.983] [DEBUG] [AngularFactory]: Creating Angular test server executor
[2023-05-05 17:08:30.983] [INFO] [AngularFactory]: Using Angular project 'corretor-lib' at root path 'C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib' and karma config file 'C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib/karma.conf.js'
[2023-05-05 17:08:30.983] [DEBUG] [KarmaFactory]: Creating Karma http test run executor
[2023-05-05 17:08:30.983] [DEBUG] [Adapter]: Getting file watcher from factory
[2023-05-05 17:08:30.983] [DEBUG] [FileWatcher]: Creating file watchers for monitored files
[2023-05-05 17:08:30.983] [DEBUG] [FileWatcher]: Registering file handler for files: [
"karma.conf.js"
]
[2023-05-05 17:08:30.983] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern 'karma.conf.js' using base path: c:\Users\lucas.gomes\Documents\repos\bs-workspace
[2023-05-05 17:08:30.983] [DEBUG] [FileWatcher]: Creating file watchers for test file changes
[2023-05-05 17:08:30.983] [DEBUG] [FileWatcher]: Registering file handler for files: [
"**/*{.,-,
}{test,spec}.{ts,js}",
"/{test,spec}{.,-,_}*.{ts,js}"
]
[2023-05-05 17:08:30.983] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern '
/{.,-,}{test,spec}.{ts,js}' using base path: c:\Users\lucas.gomes\Documents\repos\bs-workspace
[2023-05-05 17:08:30.983] [DEBUG] [FileWatcher]: Creating file watcher for file or pattern '**/{test,spec}{.,-,
}
.{ts,js}' using base path: c:\Users\lucas.gomes\Documents\repos\bs-workspace
[2023-05-05 17:08:30.983] [DEBUG] [Adapter]: Creating test explorer
[2023-05-05 17:08:30.983] [DEBUG] [KarmaTestExplorer]: Test load started
[2023-05-05 17:08:30.983] [DEBUG] [KarmaTestExplorer]: Test hard refresh started
[2023-05-05 17:08:30.983] [DEBUG] [TestLocator]: Refresh requested for all spec file(s): ["/*{.,-,_}{test,spec}.{ts,js}","/{test,spec}{.,-,}.{ts,js}"]
[2023-05-05 17:08:30.983] [DEBUG] [TestLocator]: No refresh currently in progress - will commence new refresh for files: ["**/
{.,-,
}{test,spec}.{ts,js}","/{test,spec}{.,-,_}*.{ts,js}"]
[2023-05-05 17:08:30.983] [DEBUG] [TestLocator]: Refreshing all spec file(s): ["
/{.,-,}{test,spec}.{ts,js}","**/{test,spec}{.,-,}.{ts,js}"]
[2023-05-05 17:08:30.985] [DEBUG] [KarmaTestExplorer]: Refresh request - Test manager is not started - Starting it
[2023-05-05 17:08:31.000] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9976 acquired: 9976
[2023-05-05 17:08:31.000] [INFO] [DefaultTestManager]: Using requested --> available karma port: 9976 --> 9976
[2023-05-05 17:08:31.247] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9999 acquired: 10022
[2023-05-05 17:08:31.247] [INFO] [DefaultTestManager]: Using requested --> available karma listener socket port: 9999 --> 10022
[2023-05-05 17:08:31.258] [DEBUG] [PortAcquisitionClient]: Request for 1 port(s) at base port 9222 acquired: 9222
[2023-05-05 17:08:31.258] [INFO] [DefaultTestManager]: Using requested --> available debug port: 9222 --> 9222
[2023-05-05 17:08:31.258] [DEBUG] [KarmaTestListener]: Attempting to listen on port 10022
[2023-05-05 17:08:31.259] [INFO] [KarmaTestServer]: Starting karma server
[2023-05-05 17:08:31.260] [DEBUG] [AngularTestServerExecutor]: Executing server start with karma port '9976' and karma socket port '10022'
[2023-05-05 17:08:31.276] [DEBUG] [AngularTestServerExecutor]: Found '@angular/cli' module at: C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules@angular\cli
[2023-05-05 17:08:31.276] [DEBUG] [AngularTestServerExecutor::SimpleProcess]: Process amc0ipf0oxv:
Executing command: 'C:\Program Files\nodejs\node.EXE'
with args: ["C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules\@angular\cli\bin\ng","test","corretor-lib","--karma-config=C:/Users/lucas.gomes/.vscode/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs","--progress=false","--no-watch"]
[2023-05-05 17:08:31.282] [DEBUG] [AngularTestServerExecutor::SimpleProcess]: Process amc0ipf0oxv - process spawned successfully with PID 21104 for command: C:\Program Files\nodejs\node.EXE C:\Users\lucas.gomes\Documents\repos\bs-workspace\node_modules@angular\cli\bin\ng test corretor-lib --karma-config=C:/Users/lucas.gomes/.vscode/extensions/lucono.karma-test-explorer-0.8.2/dist/karma.conf.cjs --progress=false --no-watch
[2023-05-05 17:08:31.284] [INFO] [KarmaTestListener]: Waiting for Karma to connect on port 10022
[2023-05-05 17:08:31.330] [DEBUG] [SimpleFileHandler]: Resolved 2 file(s) from file patterns: ["/*{.,-,_}{test,spec}.{ts,js}","/{test,spec}{.,-,}.{ts,js}"]
[2023-05-05 17:08:31.330] [DEBUG] [TestLocator]: Requested --> filtered file count to refresh: 2 --> 2
[2023-05-05 17:08:31.330] [DEBUG] [SimpleFileHandler]: Reading file async: C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib/src/lib/services/data-power/data-power-private.service.spec.ts
[2023-05-05 17:08:31.334] [DEBUG] [AstTestFileParser]: Parse operation e0xspcpymed: Parsed 2 total tests from file 'C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib/src/lib/services/data-power/data-power-private.service.spec.ts' in 0.00 secs
[2023-05-05 17:08:31.334] [DEBUG] [SimpleFileHandler]: Reading file async: C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib/src/lib/services/data-power/data-power-protected.service.spec.ts
[2023-05-05 17:08:31.336] [DEBUG] [AstTestFileParser]: Parse operation ok2i6ahtlk9: Parsed 2 total tests from file 'C:/Users/lucas.gomes/Documents/repos/bs-workspace/projects/corretor-lib/src/lib/services/data-power/data-power-protected.service.spec.ts' in 0.00 secs
[2023-05-05 17:08:31.336] [DEBUG] [TestLocator]: Refreshed 2 spec files from glob list in 0.35 secs: ["**/
{.,-,
}{test,spec}.{ts,js}","**/{test,spec}{.,-,_}*.{ts,js}"]

Package.json

{
  "name": "bs-workspace",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~11.2.14",
    "@angular/common": "~11.2.14",
    "@angular/compiler": "~11.2.14",
    "@angular/core": "~11.2.14",
    "@angular/forms": "~11.2.14",
    "@angular/platform-browser": "~11.2.14",
    "@angular/platform-browser-dynamic": "~11.2.14",
    "@angular/router": "~11.2.14",
    "rxjs": "~6.6.0",
    "tslib": "^2.0.0",
    "zone.js": "~0.11.3"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.1102.18",
    "@angular/cli": "~11.2.19",
    "@angular/compiler-cli": "~11.2.14",
    "@types/jasmine": "~3.6.0",
    "@types/node": "^12.11.1",
    "codelyzer": "^6.0.0",
    "jasmine-core": "~3.6.0",
    "jasmine-spec-reporter": "~5.0.0",
    "jwt-decode": "^3.1.2",
    "karma": "^6.4.2",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage": "~2.0.3",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "~1.5.0",
    "ng-packagr": "^11.0.0",
    "protractor": "~7.0.0",
    "ts-node": "~8.3.0",
    "tslint": "~6.1.0",
    "typescript": "~4.1.5"
  }
}
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

module.exports = function (config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', '@angular-devkit/build-angular'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-jasmine-html-reporter'),
      require('karma-coverage'),
      require('@angular-devkit/build-angular/plugins/karma')
    ],
    client: {
      jasmine: {
        // you can add configuration options for Jasmine here
        // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
        // for example, you can disable the random execution with `random: false`
        // or set a specific seed with `seed: 4321`
      },
      clearContext: false // leave Jasmine Spec Runner output visible in browser
    },
    jasmineHtmlReporter: {
      suppressAll: true // removes the duplicated traces
    },
    coverageReporter: {
      dir: require('path').join(__dirname, '../../coverage/corretor'),
      subdir: '.',
      reporters: [
        { type: 'html' },
        { type: 'text-summary' }
      ]
    },
    reporters: ['progress', 'kjhtml'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    browsers: ['Chrome'],
    singleRun: false,
    restartOnFileChange: true,
  });
};

Please Provide the Following Information

  • OS and Version: Win 10
  • Node Version: 12.10.0
  • VS Code Version: 1.78.0

Tests are unmapped when test file has angle bracket Typescript cast syntax

Describe the Bug

Tests that use the older Typescript cast syntax <type> result in TestLocator parsing error and the tests in the file get rendered as Unmapped in the test Explorer

[ERROR] [TestLocator]: Failed to get tests from spec file sample.spec.ts: SyntaxError: Unexpected token, expected "}"

Steps to Reproduce the Behavior

interface ISample {
  id: string;
  other: string;
}

describe('Outer Tests', () => {
  const sampleId: unknown = 12345;
  const sampleArray: unknown[] = [sampleId];

  it('this should trigger SyntaxError: Unexpected token', () => {
    // arrange
    const data: ISample = {
      id: <string>sampleId,
      other: 'value'
    };
    // act
    expect(data).toBeNull();
  });

  sampleArray.forEach(testValue => {
    it('with ' + testValue + ' should trigger SyntaxError: Unexpected token', () => {
      // arrange
      const data: ISample = {
        id: <string>testValue,
        other: 'value'
      };
      // act
      expect(data).toBeNull();
    });
  });
});

Provide Debug Logs

This is as much detail as there is
[ERROR] [TestLocator]: Failed to get tests from spec file sample.spec.ts: SyntaxError: Unexpected token, expected "}"

Please Provide the Following Information

  • OS: Windows 11
  • Environment: dev box
  • Node Version: v16.15.0
  • VS Code Version: 1.70.2
  • Karma Version: v6.3.5
  • Frameworks: Jasmine

Additional Context

Tests/parsing work fine when running tests via command: karma start karma.conf.js

From package.json

  "devDependencies": {
    "@commitlint/cli": "^14.1.0",
    "@commitlint/config-angular": "^14.1.0",
    "@types/copy-webpack-plugin": "^8.0.1",
    "@types/jasmine": "^3.10.0",
    "@types/lodash.clonedeep": "^4.5.6",
    "@types/node": "^16.9.6",
    "@types/webpack": "^5.28.0",
    "@typescript-eslint/eslint-plugin": "^5.3.0",
    "@typescript-eslint/parser": "^5.3.0",
    "clean-webpack-plugin": "^4.0.0",
    "commitizen": "^4.2.4",
    "copy-webpack-plugin": "^9.0.1",
    "eslint": "^8.1.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-jasmine": "^4.1.3",
    "eslint-plugin-prettier": "^4.0.0",
    "husky": "^7.0.4",
    "istanbul-instrumenter-loader": "^3.0.1",
    "jasmine-core": "^4.2.0",
    "jasmine-spec-reporter": "^7.0.0",
    "karma": "^6.3.5",
    "karma-chrome-launcher": "^3.1.0",
    "karma-coverage": "^2.0.3",
    "karma-coverage-istanbul-reporter": "^3.0.3",
    "karma-jasmine": "^4.0.1",
    "karma-jasmine-html-reporter": "^1.7.0",
    "karma-webpack": "^5.0.0",
    "make-dir-cli": "^3.0.0",
    "prettier": "^2.4.1",
    "tsconfig-paths": "^4.1.0",
    "ts-loader": "^9.2.6",
    "ts-node": "^10.9.1",
    "tslib": "^2.3.1",
    "typescript": "^4.4.3",
    "webpack": "^5.59.1",
    "webpack-cli": "^4.9.1"
  },

Can't run tests in multiple browsers. Why overwrite "browsers" from karma.conf.js?

I want my karma tests to be run in two browsers: Chromium and Firefox with custom settings which are described as a custom launcher. But karma-test-explorer doesn't allow to do that. It takes browser from the extension settings and overwrites browser settings from my karma.conf.js:

 public applyConfigOverrides(config: KarmaConfig) {
    config.port = this.karmaPort;
    config.logLevel = (config as any)[`LOG_${this.karmaLogLevel.toUpperCase()}`];
    config.singleRun = false;
    config.autoWatch = this.autoWatchEnabled;
    config.autoWatchBatchDelay = this.autoWatchBatchDelay ?? config.autoWatchBatchDelay;
    config.restartOnFileChange = false;
    config.browsers = [this.browser]; // <--- Here. Why overwrite browsers from `karma.conf.js` ?
    config.customLaunchers = this.customLauncher ? { [this.browser]: this.customLauncher } : config.customLaunchers;
    config.browserNoActivityTimeout = 1000 * 60 * 60 * 24;
    config.browserDisconnectTimeout = Math.max(config.browserDisconnectTimeout || 0, 30_000);
    config.pingTimeout = 1000 * 60 * 60 * 24;
    config.captureTimeout = Math.max(config.captureTimeout || 0, KARMA_BROWSER_CAPTURE_MIN_TIMEOUT);
    config.browserSocketTimeout = 30_000;
    config.processKillTimeout = 2000;
    config.retryLimit = Math.max(config.retryLimit || 0, 3);
    (config.client ??= {}).clearContext = false;
  }

Expected Behavior

Don't overwrite browsers from karma.conf.js

Timeout while debugging

Describe the Bug

The extension has been working great for running tests, but I can't use it to debug tests. When stepping through or checking multiple breakpoints, the debugging session ends after only 60s.

I am not sure if this is a missing feature, bug, or just a setting I am overlooking. When trying to figure out if I was missing a setting, the only thing I could find is that using the debug.html page seems to be necessary when debugging, but I didn't find anything confirming exactly why yet. My guess, based on various incomplete discussions, seemed to be that the page debugging can't communicate while the debugger has locked the tab's JS execution, so the debug.html page lets communication continue with the browser. I don't know enough about how it works to know if that is correct, yet.

Steps to Reproduce the Behavior

  1. Set a breakpoint.
  2. Step through each line or continue to other breakpoints for longer than 60s, in a single test.
  3. Session ends.

Describe the Expected Behavior

If I am on a breakpoint, I expect to be able to stay there and inspect variables or discuss with someone, instead of having to rush and think about how much time is left before I need to run the test again.

Provide Debug Logs

[2021-11-16 17:37:42.135] [ERROR] [KarmaTestEventListener]: Could not listen for Karma events - Test execution failed: Exceeded 60000 ms timeout while waiting for first test result
[2021-11-16 17:37:42.153] [ERROR] [Adapter]: Failed while debugging requested tests - Exceeded 60000 ms timeout while waiting for first test result
[2021-11-16 17:37:42.154] [INFO] [Adapter]:  Debug test run finished in 60.04 secs
[2021-11-16 17:37:42.670] [INFO] [Debugger]: Debug session 'Karma Test Explorer Debugging' has ended
System:
    OS: Windows 10 10.0.19043
    CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
  Binaries:
    Node: 14.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - C:\Program Files\nodejs\yarn.CMD
    npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD

For now, I use this extension to easily run specific tests. When I need to debug a test, I use the following launch config:

{
      "name": "Debug tests",
      "type": "chrome",
      "request": "launch",
      "url": "http://localhost:9876/debug.html",
      "webRoot": "${workspaceFolder}",
      "sourceMaps": true,
      "sourceMapPathOverrides": {
        "webpack:/*": "${webRoot}/*",
        "/./*": "${webRoot}/*",
        "/src/*": "${webRoot}/*",
        "/*": "*",
        "/./~/*": "${webRoot}/node_modules/*"
      }
}

Karma server not stopped when vscode is closed

Describe the Bug

  • Karma server not stopped when vscode is closed

Steps to Reproduce the Behavior

  1. Open vscode and wait till extensions is initialized
  2. Close vscode
  3. See orphaned node task in eg system monitor

Describe the Expected Behavior

  • Karma server stopped when vscode is closed

Provide Debug Logs

Screenshots

image

Please Provide the Following Information

  • OS: Ubuntu 20.04
  • Environment: local
  • Node Version: v16.14.0
  • VSCode Version: 1.65.0
  • Karma Version: ^6.3.14
  • Frameworks: jasmine ^2.0.1

Additional Context

  • Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.