Skip to content
Commits on Source (2)
......@@ -52,6 +52,7 @@ exports[`Activity component renders correctly 1`] = `
"parent_guid": "838106762591510528",
"paywall": undefined,
"perma_url": false,
"permissions": Object {},
"pinned": undefined,
"rowKey": "something0",
"shouldBeBlured": [MockFunction] {
......@@ -117,6 +118,7 @@ exports[`Activity component renders correctly 1`] = `
"parent_guid": "838106762591510528",
"paywall": undefined,
"perma_url": false,
"permissions": Object {},
"pinned": undefined,
"rowKey": "something0",
"shouldBeBlured": [MockFunction] {
......@@ -198,6 +200,7 @@ exports[`Activity component renders correctly 1`] = `
"parent_guid": "838106762591510528",
"paywall": undefined,
"perma_url": false,
"permissions": Object {},
"pinned": undefined,
"rowKey": "something0",
"shouldBeBlured": [MockFunction] {
......@@ -307,6 +310,7 @@ exports[`Activity component renders correctly 1`] = `
"parent_guid": "838106762591510528",
"paywall": undefined,
"perma_url": false,
"permissions": Object {},
"pinned": undefined,
"rowKey": "something0",
"shouldBeBlured": [MockFunction] {
......@@ -383,6 +387,7 @@ exports[`Activity component renders correctly 1`] = `
"parent_guid": "838106762591510528",
"paywall": undefined,
"perma_url": false,
"permissions": Object {},
"pinned": undefined,
"rowKey": "something0",
"shouldBeBlured": [MockFunction] {
......@@ -455,6 +460,7 @@ exports[`Activity component renders correctly 1`] = `
"parent_guid": "838106762591510528",
"paywall": undefined,
"perma_url": false,
"permissions": Object {},
"pinned": undefined,
"rowKey": "something0",
"shouldBeBlured": [MockFunction] {
......@@ -533,6 +539,7 @@ exports[`Activity component renders correctly 1`] = `
"parent_guid": "838106762591510528",
"paywall": undefined,
"perma_url": false,
"permissions": Object {},
"pinned": undefined,
"rowKey": "something0",
"shouldBeBlured": [MockFunction] {
......@@ -604,6 +611,7 @@ exports[`Activity component renders correctly 1`] = `
"parent_guid": "838106762591510528",
"paywall": undefined,
"perma_url": false,
"permissions": Object {},
"pinned": undefined,
"rowKey": "something0",
"shouldBeBlured": [MockFunction] {
......
......@@ -95,6 +95,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"monetized": "",
"name": "Some User",
"owner_guid": "0",
"permissions": Object {},
"pinned_posts": Array [],
"plus": true,
"programs": Array [
......@@ -127,6 +128,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"owner_guid": "1",
"paywall": false,
"perma_url": "https://www.minds.com/blog/view/836607056186159104",
"permissions": Object {},
"published": true,
"rating": 1,
"reminds": 58,
......@@ -283,6 +285,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"monetized": "",
"name": "Some User",
"owner_guid": "0",
"permissions": Object {},
"pinned_posts": Array [],
"plus": true,
"programs": Array [
......@@ -315,6 +318,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"owner_guid": "1",
"paywall": false,
"perma_url": "https://www.minds.com/blog/view/836607056186159104",
"permissions": Object {},
"published": true,
"rating": 1,
"reminds": 58,
......@@ -453,6 +457,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"monetized": "",
"name": "Some User",
"owner_guid": "0",
"permissions": Object {},
"pinned_posts": Array [],
"plus": true,
"programs": Array [
......@@ -485,6 +490,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"owner_guid": "1",
"paywall": false,
"perma_url": "https://www.minds.com/blog/view/836607056186159104",
"permissions": Object {},
"published": true,
"rating": 1,
"reminds": 58,
......@@ -603,6 +609,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"monetized": "",
"name": "Some User",
"owner_guid": "0",
"permissions": Object {},
"pinned_posts": Array [],
"plus": true,
"programs": Array [
......@@ -635,6 +642,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"owner_guid": "1",
"paywall": false,
"perma_url": "https://www.minds.com/blog/view/836607056186159104",
"permissions": Object {},
"published": true,
"rating": 1,
"reminds": 58,
......@@ -749,6 +757,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"monetized": "",
"name": "Some User",
"owner_guid": "0",
"permissions": Object {},
"pinned_posts": Array [],
"plus": true,
"programs": Array [
......@@ -781,6 +790,7 @@ exports[`blog view screen component should renders correctly 1`] = `
"owner_guid": "1",
"paywall": false,
"perma_url": "https://www.minds.com/blog/view/836607056186159104",
"permissions": Object {},
"published": true,
"rating": 1,
"reminds": 58,
......
......@@ -69,13 +69,13 @@ describe('channel actions component', () => {
store.channel.subscribed = true;
store.channel.blocked = true;
opt = wrapper.instance().makeAction(1);
opt = wrapper.instance().executeAction(1);
expect(store.channel.toggleSubscription).toBeCalled();
opt = wrapper.instance().makeAction(2);
opt = wrapper.instance().executeAction(2);
expect(store.toggleBlock).toBeCalled();
opt = wrapper.instance().makeAction(3);
opt = wrapper.instance().executeAction(3);
expect(navigation.push).toBeCalled();
});
......
......@@ -14,80 +14,6 @@ exports[`channel actions component should renders correctly 1`] = `
]
}
>
<View
accessibilityLabel="Wire Button"
accessible={true}
isTVSelectable={true}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#4690D6",
"borderRadius": 20,
"borderWidth": 1,
"flexDirection": "row",
"justifyContent": "center",
"margin": 4,
"opacity": 1,
"padding": 4,
}
}
>
<Text
allowFontScaling={false}
style={
Array [
Object {
"color": undefined,
"fontSize": 18,
},
Array [
Object {
"marginLeft": 5,
},
Object {
"color": "#4690D6",
},
],
Object {
"fontFamily": "Ionicons",
"fontStyle": "normal",
"fontWeight": "normal",
},
Object {},
]
}
>
</Text>
<Text
style={
Array [
Object {
"color": "#4690D6",
},
Array [
Object {
"marginLeft": 5,
},
Object {
"marginRight": 5,
},
],
]
}
>
Wire
</Text>
</View>
<View
accessibilityLabel="More"
accessible={true}
......
......@@ -194,49 +194,7 @@ exports[`channel header component owner should render correctly 1`] = `
},
]
}
>
<View
accessibilityLabel="Subscribe to this channel"
accessible={true}
isTVSelectable={true}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#4690D6",
"borderRadius": 20,
"borderWidth": 1,
"flexDirection": "row",
"justifyContent": "center",
"margin": 4,
"marginLeft": 0,
"opacity": 1,
"padding": 4,
}
}
>
<Text
style={
Array [
Object {
"color": "#4690D6",
},
undefined,
]
}
>
SUBSCRIBE
</Text>
</View>
</View>
/>
</View>
<View
style={
......