Skip to content

Commit 6f29db4

Browse files
author
oatkiller
committed
fix?
1 parent 12ef066 commit 6f29db4

File tree

1 file changed

+2
-2
lines changed
  • x-pack/plugins/security_solution/public/resolver/test_utilities

1 file changed

+2
-2
lines changed

x-pack/plugins/security_solution/public/resolver/test_utilities/extend_jest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ expect.extend({
6363
? () =>
6464
`${this.utils.matcherHint(matcherName, undefined, undefined, options)}\n\n` +
6565
`Expected: not ${this.utils.printExpected(expected)}\n${
66-
this.utils.stringify(expected) !== this.utils.stringify(received!)
67-
? `Received: ${this.utils.printReceived(received)}`
66+
this.utils.stringify(expected) !== this.utils.stringify(received[0]!)
67+
? `Received: ${this.utils.printReceived(received[0])}`
6868
: ''
6969
}`
7070
: () =>

0 commit comments

Comments
 (0)