Skip to content

Commit 8262774

Browse files
committed
Use randomUUID instead of fixed UUID
1 parent 3c9c438 commit 8262774

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/utils/search.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { randomUUID } from "node:crypto";
12
import { assert, getClient } from "./meilisearch-test-utils.js";
23
import type { Film } from "./test-data/films.js";
34
import type {
@@ -9,7 +10,7 @@ import type {
910
SearchResult,
1011
} from "../../src/index.js";
1112

12-
export const INDEX_UID = "b568151e-ddb8-455e-85b9-871e8d57c6b7";
13+
export const INDEX_UID = randomUUID();
1314
export const client = await getClient("Master");
1415
export const index = client.index<Film>(INDEX_UID);
1516

0 commit comments

Comments
 (0)