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

fix(init): fix test-main.(js/coffee) generation #1346

Merged
merged 1 commit into from
Mar 17, 2015

Conversation

freethejazz
Copy link
Contributor

The pathToModule function sets a project up such that your spec
directory must be within your src directory. This approach directly
contradicts the example describing how to use RequireJS with Karma in
the documentation.

Fixes #1120, fixes #896

The `pathToModule` function sets a project up such that your spec
directory must be within your src directory. This approach directly
contradicts the example describing how to use RequireJS with Karma in
the documentation.

Fixes karma-runner#1120, fixes karma-runner#896
@cironunes
Copy link
Member

LGTM!

@maksimr
Copy link
Contributor

maksimr commented Mar 12, 2015

@cironunes why you add function pathToModule here?

Thanks

@freethejazz
Copy link
Contributor Author

@maksimr, this is something @vojtajina wanted I think, but I don't know what the initial motivation was.

See this commit and attached comments: a99c387

@freethejazz
Copy link
Contributor Author

That commit also introduces changes that break IE8, which I plan on submitting a fix for in a separate PR.

@maksimr
Copy link
Contributor

maksimr commented Mar 13, 2015

@freethejazz Thanks!

LGTM

maksimr added a commit that referenced this pull request Mar 17, 2015
fix(init): fix test-main.(js/coffee) generation
@maksimr maksimr merged commit 9148602 into karma-runner:master Mar 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants