Skip to content

Commit

Permalink
fix(test): fix tree for test options set
Browse files Browse the repository at this point in the history
  • Loading branch information
voischev committed Jan 18, 2017
1 parent 7d9a437 commit 03286ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/plugins.js
Expand Up @@ -247,7 +247,14 @@ describe('Plugins', function () {
tree.options.closingSingleTag = 'slash'
})
.process(html)
.should.eventually.containSubset({ html: ref, tree: [{}] })
.should.eventually.containSubset({
html: ref,
tree: [{
tag: 'div',
attrs: { class: 'cls' },
content: [ { tag: 'br' }, { tag: 'rect' } ]
}]
})
})
})
})

0 comments on commit 03286ea

Please sign in to comment.