fix assertion

This commit is contained in:
Stephen 2025-11-20 16:19:56 +00:00
parent 90a2d9fc2a
commit d839a27c12

View File

@ -183,9 +183,8 @@ describe('SettingsUsersTable', () => {
canEditRole: false,
},
});
screen.getAllByTestId('user-role').forEach((roleCell) => {
expect(roleCell).not.toBeVisible();
});
expect(screen.queryByTestId('user-role')).not.toBeInTheDocument();
});
it('should emit "update:role" when a new role is selected', () => {