-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
181d0b1
commit 00fdf9a
Showing
2 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const { | ||
extractUniqueValues, | ||
extractIDsForSearchAPI, | ||
validatePayloadDataTypes, | ||
getObjectAndIdentifierType, | ||
} = require('./util'); | ||
|
@@ -184,7 +184,7 @@ describe('extractUniqueValues utility test cases', () => { | |
}, | ||
]; | ||
|
||
const result = extractUniqueValues(inputs); | ||
const result = extractIDsForSearchAPI(inputs); | ||
|
||
expect(result).toEqual([ | ||
'[email protected]', | ||
|
@@ -196,7 +196,7 @@ describe('extractUniqueValues utility test cases', () => { | |
|
||
it('Should return an empty array when the input is empty', () => { | ||
const inputs = []; | ||
const result = extractUniqueValues(inputs); | ||
const result = extractIDsForSearchAPI(inputs); | ||
expect(result).toEqual([]); | ||
}); | ||
}); |