Skip to content

Error: [$injector:unpr] Unknown provider: DSProvider <- DS <- Users <- UserServices #364

Description

@kim2014

I wrote the unit test for my angular JS controller and It complained about

Error: [$injector:unpr] Unknown provider: DSProvider <- DS <- Users <- UserServices

I ran the unit test by the karma command:
karma run test/karma.conf.js

Attached all of my directives, controller and my unit test
DSProvider.zip

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions