1
0
Fork 0
mirror of synced 2024-09-28 23:31:43 +12:00

Fixing test mocks.

This commit is contained in:
mike12345567 2022-10-07 16:24:04 +01:00
parent 2c40394bc6
commit 5b299c878f

View file

@ -1,7 +1,7 @@
jest.mock("../../../utilities/redis", () => ({
init: jest.fn(),
getAllLocks: () => {
return []
getLocksById: () => {
return {}
},
doesUserHaveLock: () => {
return true