Skip to content

no tests yet (there's a problem) - #8

Open
simonszc wants to merge 2 commits into
sea-401d5-javascript:masterfrom
simonszc:add-directives
Open

no tests yet (there's a problem)#8
simonszc wants to merge 2 commits into
sea-401d5-javascript:masterfrom
simonszc:add-directives

Conversation

@simonszc

Copy link
Copy Markdown
Contributor

I tried the stack overflow solutions, but there's something I'm missing. The require : '^ngController' on my directives is causing tests to fail--I can't figure out how to mock up and inject a controller for the test. Either it ends up not knowing where to find ngController, or when I try to mock up a controller like we did on the controller tests it says "Error: [$injector:unpr] Unknown provider: perfctrlProvider <- perfctrl"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant