Fixing test mocks.
This commit is contained in:
parent
197d195cb4
commit
d80c966cf1
|
@ -1,7 +1,7 @@
|
|||
jest.mock("../../../utilities/redis", () => ({
|
||||
init: jest.fn(),
|
||||
getAllLocks: () => {
|
||||
return []
|
||||
getLocksById: () => {
|
||||
return {}
|
||||
},
|
||||
doesUserHaveLock: () => {
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue