From 5f7b772115ddc409984d06fb83aaa6f759a3fec2 Mon Sep 17 00:00:00 2001 From: "Teresa (Terri) Gobble" Date: Fri, 8 Sep 2023 09:53:35 -0500 Subject: [PATCH] Testing stub notes --- packages/block-editor-utils/tests/controls/Color.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/block-editor-utils/tests/controls/Color.test.tsx b/packages/block-editor-utils/tests/controls/Color.test.tsx index b3b962c22..a2b1b588d 100644 --- a/packages/block-editor-utils/tests/controls/Color.test.tsx +++ b/packages/block-editor-utils/tests/controls/Color.test.tsx @@ -57,7 +57,7 @@ const blockJson = { category: '', }; -// Where can I tell the test to look in the Sidebar for the results of the block being selected? +// Where can I tell the snapshot to emulate the Sidebar for the results of the block being selected? describe('', () => { it('renders the Color control component in the sidebar if the blocks `isSelected=true`', () => { const blockProps = { @@ -70,6 +70,8 @@ describe('', () => { }, className: 'SimpleBlock', }; + + // from my reading, this seems correct render(