Skip to content

Commit

Permalink
fix: stop casting str to str
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 committed Aug 11, 2023
1 parent 31a2344 commit 234a141
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function testCacheName(): string {
}

export function testIndexName(): string {
return `${v4()}`;
return v4();
}

export const deleteCacheIfExists = async (
Expand Down Expand Up @@ -211,7 +211,7 @@ export function ItBehavesLikeItValidatesNumDimensions(
) {
it('validates its numDimensions', async () => {
const response = await getResponse({
indexName: `${v4()}`,
indexName: v4(),
numDimensions: 0,
});
expect((response as IResponseError).errorCode()).toEqual(
Expand Down

0 comments on commit 234a141

Please sign in to comment.