ML: Update header test

This commit is contained in:
Gustav Hansen 2022-06-15 13:31:09 +02:00
parent 4597591f08
commit efad0452d6

View File

@ -95,7 +95,7 @@ describe('Header', () => {
});
test('does not render a back button at the root level of the media library', () => {
const { queryByText } = setup({ folder: { ...FIXTURE_FOLDER, parent: null } });
const { queryByText } = setup({ folder: null });
expect(queryByText('Back')).not.toBeInTheDocument();
});