From 84c387926c84bbe829745c33db0e63d420674fc8 Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 20 Aug 2020 08:19:25 -0800 Subject: [PATCH] sun and scenery-phet unit tests to run in brand=phet-io, https://github.com/phetsims/perennial/issues/191 --- js/accessibility/GrabDragInteractionTests.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/accessibility/GrabDragInteractionTests.js b/js/accessibility/GrabDragInteractionTests.js index 61834dd90..15b0a5e25 100644 --- a/js/accessibility/GrabDragInteractionTests.js +++ b/js/accessibility/GrabDragInteractionTests.js @@ -9,6 +9,7 @@ import Display from '../../../scenery/js/display/Display.js'; import Node from '../../../scenery/js/nodes/Node.js'; import Rectangle from '../../../scenery/js/nodes/Rectangle.js'; +import Tandem from '../../../tandem/js/Tandem.js'; import GrabDragInteraction from './GrabDragInteraction.js'; // constants @@ -39,6 +40,7 @@ QUnit.test( 'GrabDragInteraction defaults', assert => { rootNode.addChild( a ); const interaction = new GrabDragInteraction( a, { + tandem: Tandem.GENERAL.createTandem( 'myGrabDragInteraction' ), objectToGrabString: thingString } ); @@ -79,5 +81,5 @@ QUnit.test( 'GrabDragInteraction defaults', assert => { testDefaultGrabbable(); - display.detachEvents(); + display.dispose(); } ); \ No newline at end of file