]> source.dussan.org Git - jquery-ui.git/commit
Tests: Make Puppeter really fire Chrome on macOS
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Thu, 30 Mar 2023 07:59:42 +0000 (09:59 +0200)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Wed, 10 May 2023 08:53:57 +0000 (10:53 +0200)
commit360259e2b21feb817d8a3e0795886649011ccad6
tree2995e51b753149eadeeda6567b6c3266e5f56b8d
parentafb83c315dac08e632d2b6d8d4f1541bd93e1ca8
Tests: Make Puppeter really fire Chrome on macOS

Also, workaround issues with QUnit Chrome bridge: the Chrome bridge
from `grunt-contrib-qunit` is now getting injected into every single
iframe, including an empty one that has no intention of running QUnit
tests. Since that bridge requires QUnit, it fails with an error
in such cases. Workaround the issue by wrapping the bridge in
another function that bails early if QUnit is not defined.

Ref gh-2157
Gruntfile.js
tests/lib/grunt-contrib-qunit-bridges/bridge-wrapper.js.intro [new file with mode: 0644]
tests/lib/grunt-contrib-qunit-bridges/bridge-wrapper.js.outro [new file with mode: 0644]