Skip to content

Commit

Permalink
test name updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vitPinchuk committed May 24, 2024
1 parent 53e969d commit 87fd1f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { createUniqueKeyObject } from './utils';
* createUniqueKeyObject
*/
describe('createUniqueKeyObject', () => {
it('Should returns an empty object for an empty input array', () => {
it('Should return an empty object for an empty input array', () => {
const result = createUniqueKeyObject([]);
expect(result).toEqual({});
});

it('Should creates a unique key object for a non-empty array', () => {
it('Should create a unique key object for a non-empty array', () => {
const items = [
{ name: 'John', age: 30 },
{ name: 'Jane', email: '[email protected]' },
Expand All @@ -24,7 +24,7 @@ describe('createUniqueKeyObject', () => {
});
});

it('Should handles duplicate keys in the array', () => {
it('Should handle duplicate keys in the array', () => {
const items = [
{ name: 'John', age: 30 },
{ name: 'Jane', age: 35 },
Expand Down

0 comments on commit 87fd1f9

Please sign in to comment.