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

Test files in guest iframe are included via absolute path #2

Open
f1ames opened this issue Jan 10, 2018 · 0 comments
Open

Test files in guest iframe are included via absolute path #2

f1ames opened this issue Jan 10, 2018 · 0 comments

Comments

@f1ames
Copy link
Contributor

f1ames commented Jan 10, 2018

Trobulesome line https://github.com/cksource/karma-ckeditor4-bender-iframes/blob/79caea483d529bd8dcae79120a7f8e4125978874/src/host.js#L59.

While test files in main window are included directly by Karma using relative path (base/tests/...), in the iframe they are included using absolute path (which may break a Karm run) generated by preprocessor.

Test files in iframe should be also included via relative path same as in parent window.

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

1 participant