Skip to content

Commit ff491bb

Browse files
committed
Replace deprecated faker.datatype.uuid by faker.string.uuid
1 parent d8c3410 commit ff491bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ describe("Use cli", () => {
150150
const getSession = jest
151151
.spyOn(authentication, "getSession")
152152
.mockResolvedValue({
153-
id: faker.datatype.uuid(),
153+
id: faker.string.uuid(),
154154
accessToken: "gho_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
155155
account: {
156-
id: faker.datatype.uuid(),
156+
id: faker.string.uuid(),
157157
label: "Account",
158158
},
159159
scopes: ["read:packages"],

0 commit comments

Comments
 (0)