Fixing test mocks.
This commit is contained in:
parent
0c4a40c795
commit
39410a07af
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
jest.mock("../../../utilities/redis", () => ({
|
||||
init: jest.fn(),
|
||||
getAllLocks: () => {
|
||||
return []
|
||||
getLocksById: () => {
|
||||
return {}
|
||||
},
|
||||
doesUserHaveLock: () => {
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue