Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #411 from artsy/node_67
Browse files Browse the repository at this point in the history
Use node 6.7 on travis
  • Loading branch information
orta authored Dec 3, 2016
2 parents 1b112fb + 4cd15b6 commit f305aee
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cache: yarn

language: node_js
node_js:
- "6.1"
- "6.7"

install:
- npm install -g yarn
Expand Down
30 changes: 13 additions & 17 deletions lib/components/__tests__/__snapshots__/tab_view-tests.js.snap
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
exports[`test looks like expected 1`] = `
<View>
<View
<SwitchView
onSelectionChange={[Function]}
selectedIndex={1}
style={
Object {
"marginBottom": 30,
"marginLeft": 0,
"marginRight": 0,
"marginTop": 30,
}
}
titles={
Array [
Object {
"alignSelf": "flex-start",
"borderColor": "red",
"borderWidth": 1,
},
Array [
Object {
"height": 46,
},
Object {
"marginBottom": 30,
"marginLeft": 0,
"marginRight": 0,
"marginTop": 30,
},
],
"one",
"two",
]
} />
<View />
Expand Down
2 changes: 2 additions & 0 deletions lib/components/__tests__/tab_view-tests.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import 'react-native'
import React from 'react'
import renderer from 'react-test-renderer'

jest.mock('../../components/switch_view', () => 'SwitchView')
import TabView from '../tab_view'

it('looks like expected', () => {
Expand Down
13 changes: 3 additions & 10 deletions lib/components/gene/__tests__/__snapshots__/about-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ exports[`test shows trending artists correctly 1`] = `
Object {
"margin": 5,
"paddingBottom": 20,
"width": 157,
"width": 1,
}
}>
<ImageView
imageURL=""
style={
Object {
"height": 105,
"width": 157,
"height": 1,
"width": 1,
}
} />
<Text
Expand Down Expand Up @@ -184,13 +184,6 @@ exports[`test shows trending artists correctly 1`] = `
</Text>
</View>
</TouchableWithoutFeedback>
<View
style={
Object {
"height": 105,
"width": 157,
}
} />
</View>
</View>
</View>
Expand Down
3 changes: 2 additions & 1 deletion lib/components/gene/__tests__/about-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import renderer from 'react-test-renderer'

jest.mock('../../opaque_image_view.js', () => 'ImageView')


it('renders correctly', () => {
const gene = {
description: 'This is some example text',
Expand All @@ -20,7 +21,7 @@ it('shows trending artists correctly', () => {
const gene = {
description: 'This is some example text',
trending_artists : [{
_id: '1',
__id: 'artist-uuid',
href: '/thing/artist/url',
name: 'Artist Name',
counts: {
Expand Down

0 comments on commit f305aee

Please sign in to comment.