Coder Social home page Coder Social logo

Comments (8)

lucono avatar lucono commented on May 22, 2024 1

Great, released in v0.7.2.

Don't hesitate to open a new issue if you experience any other problems.

from karma-test-explorer.

lucono avatar lucono commented on May 22, 2024

Your detailed report is helpful. Can you also:

  • Attach the full debug logs from the other Karma Test Explorer (...) and Karma Server (...) channels in the VS Code Output panel?
  • Try it on an Intel Macbook variant to see if you experience the same issue

from karma-test-explorer.

antonio-mikulic avatar antonio-mikulic commented on May 22, 2024

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.

BlairLeduc avatar BlairLeduc commented on May 22, 2024

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.

BlairLeduc avatar BlairLeduc commented on May 22, 2024

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.

lucono avatar lucono commented on May 22, 2024

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.

antonio-mikulic avatar antonio-mikulic commented on May 22, 2024

Hey, that did manage to fix it for me! Thank you for the help!

Screenshot 2022-07-27 at 16 25 29

from karma-test-explorer.

BlairLeduc avatar BlairLeduc commented on May 22, 2024

Yes, v0.7.2 works for me as well! Thank you!

from karma-test-explorer.

Related Issues (20)

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.