Fixing test mocks.

This commit is contained in:
mike12345567 2022-10-07 16:24:04 +01:00
parent 2c40394bc6
commit 5b299c878f
1 changed files with 2 additions and 2 deletions

View File

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