Skip to content

Commit

Permalink
Fix jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Jun 4, 2024
1 parent 266fc0b commit 084b022
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ describe('Key rotation routes', () => {
});

it('correctly defines route.', () => {
expect(routeConfig.options).toEqual({ tags: ['access:rotateEncryptionKey'] });
expect(routeConfig.options).toEqual({
tags: ['access:rotateEncryptionKey'],
description: `Rotate a key for encrypted saved objects`,
});
expect(routeConfig.validate).toEqual({
body: undefined,
query: expect.any(Type),
Expand Down

0 comments on commit 084b022

Please sign in to comment.