You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new JSDOM has limited features comparing to 9 and below.
It does not provide API to load scripts.
We have to load scripts by composing script tags.
One alternative is to load all scripts using systemjs.
There are two questions related to that approach:
Will systemjs choke up on a certain script?
Performance issue.
For (1), it should be ok as all scripts currently loaded by JSDOM are just global scripts and should be able to load by systemjs.
For (2), need to see the actual before to decide.
One good thing on this approach it that it would likely be easier to add hook to systemjs to support code coverage as needed in istanbuljs/nyc#529
No description provided.
The text was updated successfully, but these errors were encountered: