question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't run tests on windows

See original GitHub issue

Reproduction link

https://stackblitz.com/sorry-there-is-no-link

Steps to reproduce

  1. Clone
  2. npm install
  3. npm test

What is expected?

Expected to run tests

What is actually happening?

> ng-zorro-antd@0.0.0-NOT-USED test C:\Users\******\Repos\ng-zorro-antd
> ng test --no-watch --no-progress --browsers=ChromeHeadlessCI --code-coverage

21 01 2020 08:25:14.558:INFO [karma-server]: Karma v4.3.0 server started at http://0.0.0.0:9877/
21 01 2020 08:25:14.569:INFO [launcher]: Launching browsers ChromeHeadlessCI with concurrency unlimited
21 01 2020 08:25:14.684:INFO [launcher]: Starting browser ChromeHeadless
21 01 2020 08:26:14.686:WARN [launcher]: ChromeHeadless have not captured in 60000 ms, killing.
21 01 2020 08:26:16.688:WARN [launcher]: ChromeHeadless was not killed in 2000 ms, sending SIGKILL.
21 01 2020 08:26:18.690:WARN [launcher]: ChromeHeadless was not killed by SIGKILL in 2000 ms, continuing.

npm ERR! Test failed.  See above for more details.
Environment Info
ng-zorro-antd 8.5.2
Browser -

Environment: Windows 10 node v10.15.0 npm 6.13.1

I’ve deleted node-modules and reinstalled it and tests failed again. I googled and couldn’t find any solution.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
Eve-Samacommented, Apr 25, 2020

About what? For component issues, maybe I can help. For gulp or something else about enviroment stuff, I can’t, I’m not familiar with it :p

1reaction
vthinkxiecommented, Jan 21, 2020

cc @wendellhu95 any solutions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't run or debug unit tests - Visual Studio Feedback
I'm using Visual Studio Community Edition 15.8.1 and I can't run or debug any unit tests. Every time I'm trying to run the...
Read more >
Tests not running in Test Explorer - visual studio
This answer helped me find a similar cause. In my case some test projects had references to Microsoft.VisualStudio.TestPlatform.TestFramework (and did not run) ...
Read more >
Run unit tests with Test Explorer - Visual Studio (Windows)
Run tests after every build. To run your unit tests after each local build, open the settings icon in the Test Explorer toolbar...
Read more >
Can't run ordered tests in VS 2017 - MSDN - Microsoft
If I look at the Test Explorer window all I can see are the various test classes and their contained tests, no trace...
Read more >
Troubleshooting Code Coverage - Visual Studio (Windows)
Code coverage is not run, and either the code coverage window doesn't open at the end of the test run, or it shows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found