Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Fix tests too
Browse files Browse the repository at this point in the history
  • Loading branch information
sycombs committed Feb 16, 2024
1 parent ee89be0 commit c65caab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/terra-folder-tree/tests/jest/FolderTree.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ describe('basic folder tree', () => {
const subfolder = wrapper.find('.subfolder');

expect(subfolder.find('span.fill.fill-block').length).toBe(3);
expect(subfolder.find('span.fill.fill-block').at(0).text()).toBe('item 1,Terra.folder-tree.item.selectable-announcement');
expect(subfolder.find('span.fill.fill-block').at(1).text()).toBe('item 2,Terra.folder-tree.item.selectable-announcement');
expect(subfolder.find('span.fill.fill-block').at(2).text()).toBe('item 3,Terra.folder-tree.item.selectable-announcement');
expect(subfolder.find('span.fill.fill-block').at(0).text()).toBe('item 1, Terra.folder-tree.item.selectable-announcement');
expect(subfolder.find('span.fill.fill-block').at(1).text()).toBe('item 2, Terra.folder-tree.item.selectable-announcement');
expect(subfolder.find('span.fill.fill-block').at(2).text()).toBe('item 3, Terra.folder-tree.item.selectable-announcement');
});

it('hides folder items when enclosing folder is collapsed', () => {
Expand Down

0 comments on commit c65caab

Please sign in to comment.