Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout when running Karma test in Angular 10 project with socket.io-client installed #281

Open
1 of 2 tasks
Poseclop opened this issue Nov 25, 2020 · 0 comments
Open
1 of 2 tasks

Comments

@Poseclop
Copy link

Poseclop commented Nov 25, 2020

You want to:

  • report a bug
  • request a feature

Current behaviour

When running the karma test suit on an angular project with socket.io-client package installed, the tests are not started, eventually resulting in a timeout error.
test.log

Steps to reproduce

  1. Create a new angular project (Using angular CLI: ng new test-project)
  2. Install socket.io-client (npm install --save socket.io-client)
  3. Run the test script (ng test)

Test will fail on timeout

Expected behaviour

Test suit runs normally

Setup

  • OS: Windows 10 Pro
  • browser: Chrome 86.0.4240.198
  • socket.io-client: 3.0.3
  • angular: 10.0.8
  • jasmine-core: 3.5.0
  • jasmine-spec-reporter: 5.0.0
  • karma: 5.0.0
  • karma-chrome-launcher: 3.1.0
  • karma-coverage-istanbul-reporter: 3.0.2
  • karma-jasmine: 3.3.0

Edit: completed list of dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant