We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bd6b2e commit 16fb0d4Copy full SHA for 16fb0d4
1 file changed
test/components/root.spec.jsx
@@ -25,5 +25,5 @@ const output = shallow(<Root />)
25
// )
26
27
exports['<Root />'] = {
28
- 'is a <div>': () => expect(output).to.have.tagName('div'),
+ 'is a <div>': () => expect(output.type()).to.equal('div'),
29
}
0 commit comments