From 9c712ce72f308dcae395799bc5a4040e5975ff61 Mon Sep 17 00:00:00 2001 From: zepumph Date: Tue, 19 Nov 2019 16:05:56 -0900 Subject: [PATCH] stub utteranceQueue global https://github.com/phetsims/utterance-queue/issues/7 --- js/accessibility/GrabDragInteractionTests.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/accessibility/GrabDragInteractionTests.js b/js/accessibility/GrabDragInteractionTests.js index bd9f2d031..9f4e5e18e 100644 --- a/js/accessibility/GrabDragInteractionTests.js +++ b/js/accessibility/GrabDragInteractionTests.js @@ -29,6 +29,10 @@ define( require => { display.initializeEvents(); document.body.appendChild( display.domElement ); + phet = phet || {}; // eslint-disable-line no-global-assign + phet.joist = phet.joist || {}; + phet.joist.sim = phet.joist.sim || { utteranceQueue: display.utteranceQueue }; // stub utteranceQueue global + const a = new Rectangle( 0, 0, 5, 5 ); rootNode.addChild( a );