Skip to content

Commit

Permalink
Change test description
Browse files Browse the repository at this point in the history
  • Loading branch information
nhle-mgmtp committed May 5, 2021
1 parent 17b8212 commit 5c36bf2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ describe('parseMarkdownContentTitle', () => {
});
});

test('Test', () => {
test('Should parse markdown h1 title placed after multiple import declarations', () => {
const markdown = dedent`
import Component1 from '@site/src/components/Component1';
import Component2 from '@site/src/components/Component2';
Expand All @@ -383,7 +383,6 @@ describe('parseMarkdownContentTitle', () => {
`;

// remove the useless line breaks? Does not matter too much
expect(parseMarkdownContentTitle(markdown)).toEqual({
content: dedent`
import Component1 from '@site/src/components/Component1';
Expand Down

0 comments on commit 5c36bf2

Please sign in to comment.