Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
181
Issues
181
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Compare Revisions
7289a83041bd7b6fefe4b28da002a1c4047a8ca5...7726bbd05a7b74321a390ab803cd1d3f2ce837ad
Source
7726bbd05a7b74321a390ab803cd1d3f2ce837ad
Select Git revision
...
Target
7289a83041bd7b6fefe4b28da002a1c4047a8ca5
Select Git revision
Compare
Commits (2)
(chore) update test snapshots
· e9387aef
Martin Santangelo
authored
2 hours ago
e9387aef
(feat) fix channel actions spec test
· 7726bbd0
Martin Santangelo
authored
2 hours ago
7726bbd0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
120 deletions
+22
-120
__tests__/activity/components/__snapshots__/Activity.js.snap
__tests__/activity/components/__snapshots__/Activity.js.snap
+8
-0
__tests__/blogs/__snapshots__/BlogsViewScreen.js.snap
__tests__/blogs/__snapshots__/BlogsViewScreen.js.snap
+10
-0
__tests__/channel/ChannelActions.js
__tests__/channel/ChannelActions.js
+3
-3
__tests__/channel/__snapshots__/ChannelActions.js.snap
__tests__/channel/__snapshots__/ChannelActions.js.snap
+0
-74
__tests__/channel/header/__snapshots__/ChannelHeader.js.snap
__tests__/channel/header/__snapshots__/ChannelHeader.js.snap
+1
-43
No files found.
__tests__/activity/components/__snapshots__/Activity.js.snap
View file @
7726bbd0
...
...
@@ -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] {
...
...
This diff is collapsed.
Click to expand it.
__tests__/blogs/__snapshots__/BlogsViewScreen.js.snap
View file @
7726bbd0
...
...
@@ -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,
...
...
This diff is collapsed.
Click to expand it.
__tests__/channel/ChannelActions.js
View file @
7726bbd0
...
...
@@ -69,13 +69,13 @@ describe('channel actions component', () => {
store
.
channel
.
subscribed
=
true
;
store
.
channel
.
blocked
=
true
;
opt
=
wrapper
.
instance
().
mak
eAction
(
1
);
opt
=
wrapper
.
instance
().
execut
eAction
(
1
);
expect
(
store
.
channel
.
toggleSubscription
).
toBeCalled
();
opt
=
wrapper
.
instance
().
mak
eAction
(
2
);
opt
=
wrapper
.
instance
().
execut
eAction
(
2
);
expect
(
store
.
toggleBlock
).
toBeCalled
();
opt
=
wrapper
.
instance
().
mak
eAction
(
3
);
opt
=
wrapper
.
instance
().
execut
eAction
(
3
);
expect
(
navigation
.
push
).
toBeCalled
();
});
...
...
This diff is collapsed.
Click to expand it.
__tests__/channel/__snapshots__/ChannelActions.js.snap
View file @
7726bbd0
...
...
@@ -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}
...
...
This diff is collapsed.
Click to expand it.
__tests__/channel/header/__snapshots__/ChannelHeader.js.snap
View file @
7726bbd0
...
...
@@ -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={
...
...
This diff is collapsed.
Click to expand it.