-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Mac OSX only] You need to include some adapter that implements __karma__.start method! #3198
[Mac OSX only] You need to include some adapter that implements __karma__.start method! #3198
Comments
The karma Try:
|
@johnjbarton Thanks, I'm investigating. |
|
With the same setup, in the devtools for Safari, look at the Look for the |
I see the same problem with this exact version of Safari when I try to update Karma in Sizzle: https://travis-ci.org/jquery/sizzle/builds/449780589 (code from https://github.com/mgol/sizzle/tree/updates). This project uses I've tried to look at |
+1, also having this issue in our project after upating all of the dependencies. Browserstack can run IE, FF, Chrome, and Edge, but throws that same |
Hi, this issue is because safari 10 supports type=module scripts but does not support the nomodule attribute and so it runs both scripts. Lines 31 to 36 in 584dddc
CanIUse footnotes 4 and 5 --> https://caniuse.com/#feat=es6-module |
@JakeChampion An interesting finding! Could the inline code be modified to check whether the other one hasn't already been executed and then skip its second |
Yes :-) |
Safari 10 supports type=module but ignores nomodule which causes loaded() to execute twice. Fixes karma-runner#3198
Safari 10 supports type=module but ignores nomodule which causes loaded() to execute twice. Fixes karma-runner#3198
Safari 10 supports type=module but ignores nomodule which causes loaded() to execute twice. Fixes #3198
Expected behaviour
No error
Actual behaviour
https://circleci.com/gh/mui-org/material-ui/53690?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
Environment Details
karma --version
): 3.1.0 (it's working fine with 3.0.0)karma.config.js
filehttps://github.com/mui-org/material-ui/blob/ac1e742b9d891fbbed566b92125f6bf687f69d8d/test/karma.conf.js#L20
Steps to reproduce the behaviour
git clone [email protected]:<yourname>/material-ui.git
The text was updated successfully, but these errors were encountered: