gruntjs / grunt-contrib-qunit

Run QUnit tests in Headless Chrome.
MIT License
214 stars 105 forks source link

Inject bridge.js into top frame only #203

Closed mattyrob closed 1 year ago

mattyrob commented 1 year ago

Fix for #202

This PR adds a conditional check to the Chrome bridge.js file such that it is only injected into the top most frame.

This has been tested locally on the ClassicPress repository install and resolved the reported Error: ReferenceError: QUnit is not defined" issue.