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

[polymer-build] Added wct-mocha to the list of supported WCT client-side packages in the html-transform. #714

Merged
merged 1 commit into from
Sep 18, 2018

Conversation

usergenic
Copy link
Contributor

@usergenic usergenic commented Sep 18, 2018

For WCT to work properly with the esm-amd-loader, polymer-build adds a little hack where it waits for all defined modules to resolve before calling the original WCT waitFor callback. That hack is only added when there is a recognized WCT client-side package. Previously web-component-tester/browser.js or wct-browser-legacy/browser.js. This PR just adds wct-mocha/browser.js to that list.

@usergenic
Copy link
Contributor Author

I should add that I totally hate that this WCT + esm-amd-loader collaboration hack is happening inside of polymer-build.

@usergenic usergenic merged commit 5696806 into master Sep 18, 2018
@usergenic usergenic deleted the update-polymer-build-to-support-wct-mocha branch September 18, 2018 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants