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