Skip to content

Commit

Permalink
add length
Browse files Browse the repository at this point in the history
  • Loading branch information
eldpswp99 committed Oct 19, 2023
1 parent 585b974 commit 26428c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/test/user/search.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ describe('update password test', () => {

validateDtoKeys(body, ['userList']);

expect(body.userList.length).toBe(4);
expect(body.userList[0].name).toBe('hi');
expect(body.userList[1].name).toBe('hi123');
expect(body.userList[2].name).toBe('hi1515');
Expand Down

0 comments on commit 26428c1

Please sign in to comment.