Merge pull request #2527 from github/koesie10/replace-faker-uuid
Replace deprecated faker.datatype.uuid by faker.string.uuid
This commit is contained in:
@@ -150,10 +150,10 @@ describe("Use cli", () => {
|
||||
const getSession = jest
|
||||
.spyOn(authentication, "getSession")
|
||||
.mockResolvedValue({
|
||||
id: faker.datatype.uuid(),
|
||||
id: faker.string.uuid(),
|
||||
accessToken: "gho_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
account: {
|
||||
id: faker.datatype.uuid(),
|
||||
id: faker.string.uuid(),
|
||||
label: "Account",
|
||||
},
|
||||
scopes: ["read:packages"],
|
||||
|
||||
Reference in New Issue
Block a user