third_party/subscriptions-project/swg.js
/**
   * Mocks the iframe as an arbitrary html element instead of actually injecting
   * it for testing.
   */
Mocks the iframe as an arbitrary html element instead of actually injecting
it for testing.
Mocks the iframe as an arbitrary html element instead of actually injecting it for testing .
static injectIframeForTesting() {
    PayFrameHelper.reset();
    iframe = document.createElement('p');
    PayFrameHelper.iframeLoaded();
  }
static injectIframeForTesting ( ) { PayFrameHelper . reset ( ) ; iframe = document . createElement ( 'p' ) ; PayFrameHelper . iframeLoaded ( ) ; }
Mocks the iframe as an arbitrary html element instead of actually injecting
 it for testing.
Mocks the iframe as an arbitrary html element instead of actually injecting it for testing .