Skip to content

Commit

Permalink
Testing stub notes
Browse files Browse the repository at this point in the history
  • Loading branch information
TeresaGobble committed Sep 8, 2023
1 parent 4af1a9c commit 5f7b772
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/block-editor-utils/tests/controls/Color.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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('<Color />', () => {
it('renders the Color control component in the sidebar if the blocks `isSelected=true`', () => {
const blockProps = {
Expand All @@ -70,6 +70,8 @@ describe('<Color />', () => {
},
className: 'SimpleBlock',
};

// from my reading, this seems correct
render(
<Color
config={{
Expand Down

0 comments on commit 5f7b772

Please sign in to comment.