Skip to content

Commit

Permalink
Merge pull request lawnstarter#43 from lawnstarter/task/update-ver
Browse files Browse the repository at this point in the history
v3.1.4
  • Loading branch information
lfkwtz authored Jun 27, 2018
2 parents 9d5c200 + 488bf20 commit d8d656b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-picker-select",
"version": "3.1.3",
"version": "3.1.4",
"description":
"A Picker component for React Native which emulates the native <select> interfaces for each platform",
"license": "MIT",
Expand Down
9 changes: 3 additions & 6 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// TODO: fix broken tests
// 04.20.18 https://github.com/airbnb/enzyme/issues/1600

import React from 'react';
import { Platform } from 'react-native';
import RNPickerSelect from '../src/';
Expand Down Expand Up @@ -104,7 +101,7 @@ describe('RNPickerSelect', () => {
expect(wrapper.state().showPicker).toEqual(false);
});

xit('should update the selected value when the `value` prop updates', () => {
it('should update the selected value when the `value` prop updates', () => {
const wrapper = shallow(
<RNPickerSelect
items={selectItems}
Expand All @@ -119,7 +116,7 @@ describe('RNPickerSelect', () => {
expect(wrapper.state().selectedItem.value).toEqual('orange');
});

xit('should update the items when the `items` prop updates', () => {
it('should update the items when the `items` prop updates', () => {
const wrapper = shallow(
<RNPickerSelect
items={selectItems}
Expand All @@ -144,7 +141,7 @@ describe('RNPickerSelect', () => {
expect(wrapper.state().items).toEqual(selectItems);
});

xit("should reset to the first item (typically the placeholder) if a value is passed in that doesn't exist in the `items` array", () => {
it("should reset to the first item (typically the placeholder) if a value is passed in that doesn't exist in the `items` array", () => {
const wrapper = shallow(
<RNPickerSelect
items={selectItems}
Expand Down
9 changes: 7 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4657,6 +4657,10 @@ react-is@^16.3.2:
version "16.3.2"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.3.2.tgz#f4d3d0e2f5fbb6ac46450641eb2e25bf05d36b22"

react-is@^16.4.1:
version "16.4.1"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.4.1.tgz#d624c4650d2c65dbd52c72622bbf389435d9776e"

[email protected]:
version "0.55.3"
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.55.3.tgz#6ff1691bd0645d0480fba16377edb9dce5bd28c4"
Expand Down Expand Up @@ -4738,12 +4742,13 @@ react-reconciler@^0.7.0:
prop-types "^15.6.0"

react-test-renderer@^16.0.0-0:
version "16.2.0"
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.2.0.tgz#bddf259a6b8fcd8555f012afc8eacc238872a211"
version "16.4.1"
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.4.1.tgz#f2fb30c2c7b517db6e5b10ed20bb6b0a7ccd8d70"
dependencies:
fbjs "^0.8.16"
object-assign "^4.1.1"
prop-types "^15.6.0"
react-is "^16.4.1"

react-test-renderer@^16.3.2:
version "16.3.2"
Expand Down

0 comments on commit d8d656b

Please sign in to comment.