From cc81cc75fc18a082a8279819fd33ad1c70aefa86 Mon Sep 17 00:00:00 2001 From: Paul Kaplan <pkaplan@media.mit.edu> Date: Thu, 17 Jan 2019 09:15:22 -0500 Subject: [PATCH] Fix snapshot tests --- .../sprite-selector-item.test.jsx.snap | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/test/unit/components/__snapshots__/sprite-selector-item.test.jsx.snap b/test/unit/components/__snapshots__/sprite-selector-item.test.jsx.snap index e0224d77c..2aa7a9829 100644 --- a/test/unit/components/__snapshots__/sprite-selector-item.test.jsx.snap +++ b/test/unit/components/__snapshots__/sprite-selector-item.test.jsx.snap @@ -13,18 +13,6 @@ exports[`SpriteSelectorItemComponent matches snapshot when given a number and de onTouchEnd={[Function]} onTouchStart={[Function]} > - <div - aria-label="Close" - className="" - onClick={[Function]} - role="button" - tabIndex="0" - > - <img - className="" - src="test-file-stub" - /> - </div> <div className={undefined} > @@ -57,6 +45,18 @@ exports[`SpriteSelectorItemComponent matches snapshot when given a number and de 480 x 360 </div> </div> + <div + aria-label="Close" + className="" + onClick={[Function]} + role="button" + tabIndex="0" + > + <img + className="" + src="test-file-stub" + /> + </div> <nav className="react-contextmenu" onContextMenu={[Function]} @@ -103,18 +103,6 @@ exports[`SpriteSelectorItemComponent matches snapshot when selected 1`] = ` onTouchEnd={[Function]} onTouchStart={[Function]} > - <div - aria-label="Close" - className="" - onClick={[Function]} - role="button" - tabIndex="0" - > - <img - className="" - src="test-file-stub" - /> - </div> <div className={undefined} > @@ -137,6 +125,18 @@ exports[`SpriteSelectorItemComponent matches snapshot when selected 1`] = ` Pony sprite </div> </div> + <div + aria-label="Close" + className="" + onClick={[Function]} + role="button" + tabIndex="0" + > + <img + className="" + src="test-file-stub" + /> + </div> <nav className="react-contextmenu" onContextMenu={[Function]} -- GitLab