Skip to content

Commit

Permalink
Fix excerpt_separator test (#11363)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst authored and freiksenet committed Jan 29, 2019
1 parent 2c02838 commit 7eb49c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ Object {

exports[`Excerpt is generated correctly from schema correctly uses excerpt separator 1`] = `
Object {
"excerpt": "Where oh where is my little pony? Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi auctor sit amet velit id facilisis. Nulla…",
"excerpt": "Where oh where is my little pony?
",
"frontmatter": Object {
"title": "my little pony",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ In quis lectus sed eros efficitur luctus. Morbi tempor, nisl eget feugiat tincid
expect(node).toMatchSnapshot()
expect(node.excerpt).toMatch(`Where oh where is my little pony?`)
},
{ pluginOptions: { excerpt_separator: `<!-- end -->` } }
{ additionalParameters: { excerpt_separator: `<!-- end -->` } }
)

const content = `---
Expand Down

0 comments on commit 7eb49c1

Please sign in to comment.