Skip to content

Commit

Permalink
test: update prevent widows test
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Oct 9, 2022
1 parent bff259d commit 02e0e91
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/test-transformers.js
Expand Up @@ -405,7 +405,13 @@ test('prevent widows (with options)', async t => {
<p>Should not remove widows here</p>
`, {
attrName: 'no-widows',
minWordCount: 3
minWordCount: 3,
ignore: [
{
heads: 'foo',
tails: 'bar'
}
]
})

t.is(html, `
Expand Down

0 comments on commit 02e0e91

Please sign in to comment.