File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ import { randomUUID } from "node:crypto" ;
12import { afterAll , test } from "vitest" ;
23import { assert , getClient } from "./utils/meilisearch-test-utils.js" ;
34
4- const INDEX_UID = "7dfb3954-d408-4fb9-9cb9-acede082f650" ;
5+ const INDEX_UID = randomUUID ( ) ;
56const ms = await getClient ( "Master" ) ;
67const index = ms . index ( INDEX_UID ) ;
78
Original file line number Diff line number Diff line change 1+ import { randomUUID } from "node:crypto" ;
12import { test , afterAll } from "vitest" ;
23import { getClient , assert } from "./utils/meilisearch-test-utils.js" ;
34import { Index , type SwapIndexesPayload } from "../src/index.js" ;
45
5- const INDEX_UID_ONE = "c5ffe1f8-7da8-4e47-a698-d4183f98a552" ;
6- const INDEX_UID_TWO = "8be542e9-0f24-4c72-b4e9-4a23e7e29e9d" ;
6+ const INDEX_UID_ONE = randomUUID ( ) ;
7+ const INDEX_UID_TWO = randomUUID ( ) ;
78const ms = await getClient ( "Master" ) ;
89const index = ms . index ( INDEX_UID_ONE ) ;
910
You can’t perform that action at this time.
0 commit comments