Last active
October 10, 2021 13:27
-
-
Save michelts/c507d1bf65f21f5c0843f74da2443136 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('FolderTree component', () => { | |
it('should allow select deeply nested folders', () => { | |
render(<FolderTree folders={sampleData} />); | |
openFolder('/home'); | |
openFolder('/home/michel'); | |
selectFolder('/home/michel'); | |
expect(folderIsSelected('/home/michel')).toBeTruthy(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment