vsavkin / angulardart-sample-app

A sample Web application built using AngularDart
Other
102 stars 27 forks source link

Can't get the tests to run #26

Open matdavies opened 8 years ago

matdavies commented 8 years ago

I can't seem to get the tests to run in this repository. I found this repository through your excellent article, here: http://victorsavkin.com/post/88976977711/testing-angulardart-applications

But whenever I run the tests I get the following error:

ERROR: [AgendaItemComponent] DDESCRIBE: [swiching between modes] defaults to the show mode
  Test failed: Caught Type 'DynamicTypeToUriMapper' not found in generated typeFactory maps. Is the type's constructor injectable and annotated for injection?

I've also posted a question on StackOverflow about this (http://stackoverflow.com/questions/32137921/unit-testing-angulardart-components), but can you shed any light?

Thanks very much for your help.