Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
s3fs committed Jan 31, 2025
1 parent c2b536f commit 87e6737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/UserDetail/UserDetail.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const resources = {
patronGroup:'3684a786-6671-4268-8ed0-9db82ebca60b',
departments:[],
proxyFor:[],
personal:{ lastName:'psych', firstName:'rick', email:'[email protected]', addresses:[], preferredContactTypeId:'002' },
personal:{ lastName:'psych', firstName:'rick', email:'[email protected]', addresses:[], preferredContactTypeId:'002', pronouns: 'xe/xe' },
createdDate:'2021-06-03T09:56:40.796+00:00',
updatedDate:'2021-06-03T09:56:40.796+00:00',
metadata:{ createdDate:'2021-05-27T11:20:51.547+00:00', updatedDate:'2021-06-03T09:56:40.779+00:00', updatedByUserId:'d88b5896-fcd2-5a3b-bc63-7749a913b786' },
Expand Down Expand Up @@ -285,7 +285,7 @@ describe('UserDetail', () => {

test('should display user pronouns', async () => {
renderUserDetail(stripes);
expect(screen.getAllByText('(xe/xe)').length).toBeGreaterThan(1);
expect(screen.getAllByText('(xe/xe)').length).toBeGreaterThan(0);
});

test('should render checkDelete button in action menu ', async () => {
Expand Down

0 comments on commit 87e6737

Please sign in to comment.