Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
minhhang107 committed Nov 16, 2021
1 parent bc5d996 commit 3365510
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/create-html.test.js
Expand Up @@ -144,7 +144,6 @@ describe('Unit tests for getUpdatedHtmlLayout', () => {
describe('Unit tests for getHtmlTitleBody', () => {
test('Should return an object of title and body for text file with title', () => {
const txtFile = `Sample Title\n\n\nThis is a sample text file.`;

const expected = {
title: 'Sample Title',
body:
Expand All @@ -156,7 +155,6 @@ describe('Unit tests for getHtmlTitleBody', () => {

test('Should return an object of empty title and body for text file with no title', () => {
const txtFile = `This is a sample text file.`;

const expected = {
title: '',
body: '<p>This is a sample text file.</p>\n',
Expand Down

0 comments on commit 3365510

Please sign in to comment.