chore: feedback tests typos

This commit is contained in:
Julie Plantey 2022-11-23 15:50:52 +01:00
parent 47a569112d
commit 03d6b3b8cd
2 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ describe('TableList', () => {
expect(onSelectAllSpy).toHaveBeenCalledTimes(1);
});
it('should call disable bulk select when users do not have update persmission', () => {
it('should disable bulk select when users do not have update persmission', () => {
const { getByRole } = setup({ canUpdate: false });
expect(getByRole('checkbox', { name: 'Select all folders & assets' })).toBeDisabled();

View File

@ -104,7 +104,7 @@ describe('TableList | TableRows', () => {
expect(getByRole('checkbox', { name: 'Select michka asset', hidden: true })).toBeChecked();
});
it('should disabled select asset checkbox when users do not have the permission to update', () => {
it('should disable select asset checkbox when users do not have the permission to update', () => {
const { getByRole } = setup({ canUpdate: false });
expect(getByRole('checkbox', { name: 'Select michka asset', hidden: true })).toBeDisabled();
@ -161,7 +161,7 @@ describe('TableList | TableRows', () => {
expect(getByRole('checkbox', { name: 'Select folder 1 folder', hidden: true })).toBeChecked();
});
it('should disabled select folder checkbox when users do not have the permission to update', () => {
it('should disable select folder checkbox when users do not have the permission to update', () => {
const { getByRole } = setup({ rows: [FOLDER_FIXTURE], canUpdate: false });
expect(