Skip to content

Commit

Permalink
Update packages/edit-site/src/utils/test/template-part-create.js
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Anderson <[email protected]>
  • Loading branch information
apeatling and noisysocks authored Jan 17, 2023
1 parent d93e77f commit cef314b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/utils/test/template-part-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe( 'getCleanTemplatePartSlug', () => {
);
} );

it( 'should return a slug of wp-custom-part', () => {
it( 'should default the slug to wp-custom-part', () => {
const title = '';
expect( getCleanTemplatePartSlug( title ) ).toBe( 'wp-custom-part' );
} );
Expand Down

0 comments on commit cef314b

Please sign in to comment.