Skip to content

Commit

Permalink
[chore] formating fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhdevelop committed Oct 6, 2024
1 parent 15de5dc commit bcd3fd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Shell/Shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const InlineHint = ({ part }: { part: SyntaxPart }) => (
</span>
);


export default function Shell({ decreaseCommandsLeft }: ShellProps) {
const {
handleInputChange,
Expand Down
4 changes: 3 additions & 1 deletion src/components/Shell/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ describe('Shell Component', () => {
expect(inlineHintChild[0]).toHaveTextContent('Key');
expect(inlineHintChild[1]).toHaveTextContent('Value');
expect(inlineHintChild[2]).toHaveTextContent('[NX | XX]');
expect(inlineHintChild[3]).toHaveTextContent('[EX seconds | PX milliseconds | EXAT unix-time-seconds | PXAT unix-time-milliseconds | KEEPTTL]');
expect(inlineHintChild[3]).toHaveTextContent(
'[EX seconds | PX milliseconds | EXAT unix-time-seconds | PXAT unix-time-milliseconds | KEEPTTL]',
);
});

it('should show syntax usage hint for GET', async () => {
Expand Down

0 comments on commit bcd3fd4

Please sign in to comment.