Skip to content

Commit 79c88e6

Browse files
committed
Use randomUUID instead of fixed UUID
1 parent c2b875a commit 79c88e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/keys.test.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 { describe, test } from "vitest";
23
import type {
34
Action,
@@ -62,7 +63,7 @@ const assert: typeof extAssert & typeof customAssert = Object.assign(
6263
customAssert,
6364
);
6465

65-
const KEY_UID = "bd2cbad1-6c5f-48e3-bb92-bc9961bc011e";
66+
const KEY_UID = randomUUID();
6667

6768
type TestRecord = {
6869
[TKey in keyof CreateApiKey]-?: [

0 commit comments

Comments
 (0)