mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(ui): correct typescript errors
This commit is contained in:
committed by
Łukasz Mierzwa
parent
3edb73675e
commit
aeb9f21b13
@@ -28,7 +28,7 @@ const MountedModal = (isOpen: boolean, isUpper?: boolean) => {
|
||||
describe("<ModalInner />", () => {
|
||||
it("scroll isn't enabled if ref is null", () => {
|
||||
const useRefSpy = jest.spyOn(React, "useRef").mockImplementation(() =>
|
||||
Object.defineProperty({}, "current", {
|
||||
Object.defineProperty({} as any, "current", {
|
||||
get: () => null,
|
||||
set: () => {},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user