0

I've just upgraded my project from angular-cli beta.10 to angular-cli@webpack (beta.18) and now none of my specs.ts are resolving (cannot find name 'describe', etc). Is there any info on how to configure unit test for my project?

AJ72
  • 168
  • 1
  • 12

3 Answers3

1

Here is everything how to configure properly your karma-jasmine and webpack Check it

user2510058
  • 518
  • 1
  • 5
  • 13
0

I would suggest you follow this guide from the angular-cli's wiki...

https://github.com/angular/angular-cli/wiki/Upgrading-from-Beta.10-to-Beta.14

Brocco
  • 62,737
  • 12
  • 70
  • 76
0

As well as the Angular documentation, the link below fixed my issue angular-2-unit-tests-cannot-find-name-describe

Community
  • 1
  • 1
AJ72
  • 168
  • 1
  • 12