Skip to content

Commit

Permalink
Chore: Fix ESLint error jest/valid-title in BlockSwitcher test
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Jan 7, 2021
1 parent b119559 commit 457b02e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[` BlockSwitcherDropdownMenu should render disabled block switcher with multi block of different types when no transforms 1`] = `
exports[`BlockSwitcherDropdownMenu should render disabled block switcher with multi block of different types when no transforms 1`] = `
<ToolbarGroup>
<ForwardRef(ToolbarButton)
className="block-editor-block-switcher__no-switcher-icon"
Expand All @@ -25,15 +25,15 @@ exports[` BlockSwitcherDropdownMenu should render disabled block switcher with m
</ToolbarGroup>
`;

exports[` BlockSwitcherDropdownMenu should render enabled block switcher with multi block when transforms exist 1`] = `
exports[`BlockSwitcherDropdownMenu should render enabled block switcher with multi block when transforms exist 1`] = `
<ToolbarGroup>
<ForwardRef(ToolbarItem)>
<Component />
</ForwardRef(ToolbarItem)>
</ToolbarGroup>
`;

exports[` BlockSwitcherDropdownMenu should render switcher with blocks 1`] = `
exports[`BlockSwitcherDropdownMenu should render switcher with blocks 1`] = `
<ToolbarGroup>
<ForwardRef(ToolbarItem)>
<Component />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe( 'BlockSwitcher', () => {
expect( wrapper.html() ).toBeNull();
} );
} );
describe( ' BlockSwitcherDropdownMenu', () => {
describe( 'BlockSwitcherDropdownMenu', () => {
const headingBlock1 = {
attributes: {
content: [ 'How are you?' ],
Expand Down

0 comments on commit 457b02e

Please sign in to comment.