vsavkin / angulardart-sample-app

A sample Web application built using AngularDart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't get the tests to run

matdavies opened this issue · comments

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.