We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11f9c5 commit c79faa2Copy full SHA for c79faa2
src/to-have-focus.js
@@ -13,9 +13,9 @@ export function toHaveFocus(element) {
13
'',
14
),
15
16
- 'Expected',
+ 'Expected element with focus:',
17
` ${this.utils.printExpected(element)}`,
18
- 'Received:',
+ 'Received element with focus:',
19
` ${this.utils.printReceived(element.ownerDocument.activeElement)}`,
20
].join('\n')
21
},
0 commit comments