Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
Browse files Browse the repository at this point in the history
…-ref HEAD~1..HEAD --fix'
  • Loading branch information
kibanamachine committed Jul 5, 2023
1 parent c719484 commit 74868c0
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions x-pack/plugins/cases/common/api/cases/comment/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,15 +347,19 @@ describe('Comments', () => {

expect(CommentRequestRt.decode({ ...defaultRequest, comment: longComment })).toMatchObject({
_tag: 'Left',
left: [{
context:[{
actual: {
...defaultRequest,
comment: longComment,
message: "The length of the comment is too long. The maximum length is 30000."
}
}]
}]
left: [
{
context: [
{
actual: {
...defaultRequest,
comment: longComment,
message: 'The length of the comment is too long. The maximum length is 30000.',
},
},
],
},
],
});
});
});
Expand Down

0 comments on commit 74868c0

Please sign in to comment.