Skip to content

Commit

Permalink
fix(docs): small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ctaylo21 committed Apr 18, 2020
1 parent 09f5358 commit 1ad08fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ describe('autocomplete with tab', (): void => {
expect(autoCompleteContent.innerHTML).toBe('');
expect(input.value).toEqual('cd home/user/test/');
});

test('tab press with single item should autofill it', async (): Promise<
void
> => {
Expand Down Expand Up @@ -586,7 +587,7 @@ describe('autocomplete with tab', (): void => {
'autocomplete-preview',
);
expect(autoCompleteContent.innerHTML).toContain('home/');
expect(autoCompleteContent.innerHTML).toContain('docs');
expect(autoCompleteContent.innerHTML).toContain('docs/');
expect(input.value).toBe('cd home/');

input.value = '';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/utilities/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export function getTarget(
* Takes an internally formatted filesystem and formats it into an
* an item list.
*
* @param directory {object} - internally formatted filesystem
* @param fileSystem {object} - internally formatted filesystem
* @returns {object} - fomratted list of files/folders
*/
export function buildItemList(fileSystem: FileSystem): ItemListType {
Expand Down

0 comments on commit 1ad08fd

Please sign in to comment.