diff --git a/package-lock.json b/package-lock.json
index 3f6204f4e..ce5068b85 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2162,13 +2162,9 @@
}
},
"@types/recompose": {
- "version": "0.26.4",
- "resolved": "https://registry.npmjs.org/@types/recompose/-/recompose-0.26.4.tgz",
- "integrity": "sha512-QOLPlsBxn/yOxSv4Au66kd8KvYZRCgZA3vV5pNZ6YTEY4GeDHNoYL+sCnbzGIcmWDYoN7PUNZSopaGhvHQperw==",
- "dev": true,
- "requires": {
- "@types/react": "*"
- }
+ "version": "github:coralproject/patched#3ca0deec868322739fc0d750398fd97735d27aac",
+ "from": "github:coralproject/patched#types/recompose",
+ "dev": true
},
"@types/relateurl": {
"version": "0.2.28",
diff --git a/package.json b/package.json
index 15b7f3f58..bd3288a6f 100644
--- a/package.json
+++ b/package.json
@@ -133,7 +133,7 @@
"@types/react-relay": "^1.3.9",
"@types/react-responsive": "^3.0.1",
"@types/react-test-renderer": "^16.0.1",
- "@types/recompose": "^0.26.4",
+ "@types/recompose": "github:coralproject/patched#types/recompose",
"@types/relay-runtime": "^1.3.6",
"@types/sane": "^2.0.0",
"@types/sinon": "^5.0.1",
diff --git a/src/core/client/stream/components/ReplyList.spec.tsx b/src/core/client/stream/components/ReplyList.spec.tsx
index 6ec16f23f..b978b0955 100644
--- a/src/core/client/stream/components/ReplyList.spec.tsx
+++ b/src/core/client/stream/components/ReplyList.spec.tsx
@@ -19,6 +19,7 @@ it("renders correctly", () => {
hasMore: false,
disableShowAll: false,
indentLevel: 1,
+ me: null,
};
const wrapper = shallow();
expect(wrapper).toMatchSnapshot();
@@ -33,6 +34,7 @@ describe("when there is more", () => {
hasMore: true,
disableShowAll: false,
indentLevel: 1,
+ me: null,
};
const wrapper = shallow();
diff --git a/src/core/client/stream/containers/ReplyListContainer.spec.tsx b/src/core/client/stream/containers/ReplyListContainer.spec.tsx
index 8b13c0ec4..a23402ce1 100644
--- a/src/core/client/stream/containers/ReplyListContainer.spec.tsx
+++ b/src/core/client/stream/containers/ReplyListContainer.spec.tsx
@@ -26,6 +26,7 @@ it("renders correctly", () => {
hasMore: noop,
isLoading: noop,
} as any,
+ me: null,
};
const wrapper = shallow();
expect(wrapper).toMatchSnapshot();
@@ -44,6 +45,7 @@ it("renders correctly when replies are null", () => {
hasMore: noop,
isLoading: noop,
} as any,
+ me: null,
};
const wrapper = shallow();
expect(wrapper).toMatchSnapshot();
@@ -66,6 +68,7 @@ describe("when has more replies", () => {
isLoading: () => false,
loadMore: (_: any, callback: () => void) => (finishLoading = callback),
} as any,
+ me: null,
};
let wrapper: ShallowWrapper;