Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

All component tests fail with Unexpected token (1:0) when using templateUrl #93

Closed
radfahrer opened this issue Nov 17, 2017 · 5 comments

Comments

@radfahrer
Copy link
Contributor

Seem to be a universal problem in a project I'm working to convert from karma to jest. I'm hoping it's something simple I'm missing.

@thymikee
Copy link
Owner

Please search this issue tracker and troubleshooting guide. I remember working around this problem

@4kochi
Copy link

4kochi commented Nov 17, 2017

Make sure all you're templateUrl have an relative path

@radfahrer
Copy link
Contributor Author

@4kochi yes my templateUrls are all relative paths.

@radfahrer
Copy link
Contributor Author

@thymikee How did you work around this issue?

@radfahrer
Copy link
Contributor Author

Looks like this is a duplicate of #74 but documentation could be updated to be more explicit, and save people time digging through closed issues.

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

No branches or pull requests

3 participants