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