Comments (8)
Great, released in v0.7.2.
Don't hesitate to open a new issue if you experience any other problems.
from karma-test-explorer.
Your detailed report is helpful. Can you also:
- Attach the full debug logs from the other
Karma Test Explorer (...)
andKarma Server (...)
channels in the VS CodeOutput
panel? - Try it on an Intel Macbook variant to see if you experience the same issue
from karma-test-explorer.
Maybe I'm missing something, but I cannot see the Karma Server (...) output channel using VS Code.
This is using when I select VS Code -> Output -> Karma Test Explorer (workspace), its the only one I see that mentions Karma
[2022-07-26 06:35:13.905] [DEBUG] [ProjectFactory]: Inspecting workspace folder for testing: /Users/antoniomikulic/Documents/Test projects/test-units
[2022-07-26 06:35:13.905] [DEBUG] [ProjectFactory]: Including projects in workspace folder '/Users/antoniomikulic/Documents/Test projects/test-units' - 'karmaTestExplorer.enableExtension' is set to true
[2022-07-26 06:35:13.905] [DEBUG] [ProjectFactory]: Including projects in workspace folder - One or more inclusion conditions were satisfied: /Users/antoniomikulic/Documents/Test projects/test-units
[2022-07-26 06:35:13.905] [DEBUG] [ProjectFactory]: Angular projects found for workspace folder /Users/antoniomikulic/Documents/Test projects/test-units: ["just-todo-it"]
[2022-07-26 06:35:13.905] [INFO] [ProjectFactory]: Using angular project type for workspace folder '/Users/antoniomikulic/Documents/Test projects/test-units' (auto-detected)
[2022-07-26 06:35:13.905] [DEBUG] [ConfigChangeManager]: Creating config change subscription
[2022-07-26 06:35:13.905] [DEBUG] [Main]: Subscribing for workspace config changes
[2022-07-26 06:39:15.233] [INFO] [ConfigChangeManager]: Configuration changed
I will check if someone has Intel MacBook for testing
from karma-test-explorer.
I am experiencing the same in the same environment. Unfortunately, I cannot add anything more, the logs are also the same.
from karma-test-explorer.
Additional frobbing found that if I add "src" as a project, it will start the Karma server, but the server complains that it cannot find the karma.conf.js file.
Error: Cannot find module '<path>/src/karma.conf.js'
If I specify "../karma.conf.js" as the path for the config file, then the server complains that:
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.
Also, this occurs on both macOS and using WSL on Windows. So it appears not to be an Apple Silicon-based problem.
I also do have a "test" target with a "karmaConfig" in my angular.json file.
from karma-test-explorer.
I'm able to reproduce this, which seems to be an issue for new Angular projects for which the angular.json
config does not specify a defaultProject
- which has been deprecated. Karma Test Explorer also deprecated its defaultAngularProjects
extension setting in v0.7.0
.
I've made a fix in the beta
branch - download the .vsix
from the CI build or build it yourself directly from the branch, and test to confirm if it resolves the issue for you.
from karma-test-explorer.
Hey, that did manage to fix it for me! Thank you for the help!
from karma-test-explorer.
Yes, v0.7.2 works for me as well! Thank you!
from karma-test-explorer.
Related Issues (20)
- If even 1 test fails, tests fail to load Test discovery failed: Process exited with non-zero status code 1 (Click to show log) HOT 8
- Cannot run new test - Another test operation is still running HOT 1
- Tests not loaded for default generated Angular 15 project HOT 9
- Tests not loaded for default generated Angular 15 workspace - follow up to issue #60 HOT 2
- Getting error Failed to load tests - Karma server failed to start: spawn npx karma ENOENT HOT 2
- Test Explorer not showing all tests when sharding tests HOT 2
- Debug hangs up if a breakpoint is set. HOT 13
- Unable to install extension HOT 2
- Support different browsers when using multiple projects HOT 8
- Failed to load tests - Karma server failed to connect: Browser Failure - cannot start HOT 25
- Can not run in Angular 11 HOT 1
- Cannot use karma.config.local.js HOT 6
- Nx support HOT 10
- Yarn PNP support HOT 1
- High CPU usage - vscode hangs when the extension is loaded HOT 1
- Configuring tests with more node memory HOT 2
- Cannot debug a test multiple times while in a container HOT 13
- Get error Uncaught ReferenceError: global is not defined HOT 1
- Angular debug tests only works first time then breakpoint ignored and then Another test operation is still running error occurs HOT 1
- Karma Test Explorer Fails to Show Tests Angular 8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma-test-explorer.