Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Testing - imported module - not exists #224

Closed
piernik opened this issue Jan 14, 2016 · 3 comments
Closed

Testing - imported module - not exists #224

piernik opened this issue Jan 14, 2016 · 3 comments

Comments

@piernik
Copy link

piernik commented Jan 14, 2016

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.

@PatrickJS
Copy link
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

@piernik
Copy link
Author

piernik commented Jan 18, 2016

But update how? Which file? Give me some clues

@PatrickJS
Copy link
Owner

see https://github.com/AngularClass/angular2-webpack-starter/blob/master/src/custom_typings.d.ts I'm going to ask angular2-jwt to include type definitions

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants