Skip to content

Testing - imported module - not exists #224

Closed

Description

@piernik

I'm new to webpack, karma, tslint and so on, but find Your seed great and want to use it in designing my angular modules.
So I have questions. Here is first:
In my project I've installed angular2-jwt module (using npm so it's in node_modules folder).
In localhost:3000 everything works but when I hit npm test I have error Error: Cannot find module "angular2-jwt/angular2-jwt"
I suppose I have to include it in spec-boundle.js but have no idea how.

Activity

  1. PatrickJS commented on Jan 15, 2016

    @PatrickJS
    Owner

    you might need to update the test files if you're using the angular2-jwt within your application. I'm going to close this for now but feel free to comment more or reopen the issue

  2. piernik commented on Jan 18, 2016

    @piernik
    Author

    But update how? Which file? Give me some clues

  3. PatrickJS commented on Jan 22, 2016

    @PatrickJS
    Owner
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions