I'd like to make a third-party object on the window
injectable so that I can test functionality independent of the third-party service. The component I'm trying to build is a simple wrapper around Disqus embedded comments. The factory I would like to use is as simple as
() => window.DISQUS
Has anyone been able to do this or know if it is possible?