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.

Tests: migrate to TestBed

See original GitHub issue

TestComponentBuilder is deprecated and will be removed in rc.6. We need to migrate to TestBed. Check https://github.com/angular/angular/pull/10621 for more details.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
pkozlowski-opensourcecommented, Aug 11, 2016

@sendilkumarn @jnizet thnx so much for helping out with this issue, you guys did awesome job here! I wouldn’t expect that we can this sorted out so fast. Thnx!

I’m going to do another pass on all the test tomorrow with a fresh eye and will close this issue then.

0reactions
sendilkumarncommented, Aug 11, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

Nx migrate does not apply TestBed Teardown ... - GitHub
My tests pass. Steps to Reproduce. Upgrade Angular 12 app to Angular 13 using nx migrate latest; Apply migrations and notice the test-setup ......
Read more >
Best Practices & Benefits to Move Your On-premise Test Bed ...
In summary, it is a great idea to move your testbed environment from on premise to the Cloud. One can achieve 100% utility...
Read more >
Unit Testing in Angular - To TestBed or NOT to TestBed
When you remove TestBed from your component spec files it essentially no longer tests the DOM. It now only tests the component class...
Read more >
Testing Dependency Injection • Angular - codecraft.tv
We can resolve dependencies in our tests using a number of methods. We can resolve using the the test bed itself, usually in...
Read more >
Angular2: Final Release Unit Test Migration Guide
After: import {TestBed} from '@angular/core/testing'; import { ...
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