Skip to content

Commit

Permalink
upgrade dev dependencies and retest
Browse files Browse the repository at this point in the history
  • Loading branch information
testshallpass committed Sep 30, 2018
1 parent dc81f17 commit 9e08a64
Show file tree
Hide file tree
Showing 27 changed files with 3,259 additions and 3,435 deletions.
1 change: 0 additions & 1 deletion __tests__/DropdownAlert-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import reactNative from 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';
import DropdownAlert from '../DropdownAlert';
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
Expand Down
6 changes: 0 additions & 6 deletions __tests__/Functions-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ import { validateType } from '../functions';
test('0 length to be false', () => {
expect(validateType('')).toBeFalsy();
});
// test('null to be false', () => {
// expect(validateType(null)).toBeFalsy();
// });
// test('undefined to be false', () => {
// expect(validateType(undefined)).toBeFalsy();
// });
test('info type to be true', () => {
expect(validateType('info')).toBeTruthy();
});
Expand Down
1 change: 0 additions & 1 deletion __tests__/ImageView-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';
import ImageView from '../imageview';
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
Expand Down
1 change: 0 additions & 1 deletion __tests__/Label-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';
import Label from '../label';
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
Expand Down
56 changes: 28 additions & 28 deletions __tests__/__snapshots__/DropdownAlert-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ exports[`renders alert with zIndex correctly 1`] = `
onLayout={[Function]}
onPress={[Function]}
>
<View
<Component
style={
Array [
Object {
Expand Down Expand Up @@ -77,7 +77,7 @@ exports[`renders alert with zIndex correctly 1`] = `
}
}
/>
<View
<Component
style={
Object {
"flex": 1,
Expand Down Expand Up @@ -113,9 +113,9 @@ exports[`renders alert with zIndex correctly 1`] = `
text="World!"
textProps={Object {}}
/>
</View>
</Component>
</SafeAreaView>
</View>
</Component>
</TouchableOpacity>
</AnimatedComponent>
`;
Expand Down Expand Up @@ -158,7 +158,7 @@ exports[`renders custom alert correctly 1`] = `
onLayout={[Function]}
onPress={[Function]}
>
<View
<Component
style={
Array [
Object {
Expand Down Expand Up @@ -193,7 +193,7 @@ exports[`renders custom alert correctly 1`] = `
}
}
/>
<View
<Component
style={
Object {
"flex": 1,
Expand Down Expand Up @@ -229,9 +229,9 @@ exports[`renders custom alert correctly 1`] = `
text="World!"
textProps={Object {}}
/>
</View>
</Component>
</SafeAreaView>
</View>
</Component>
</TouchableOpacity>
</AnimatedComponent>
`;
Expand Down Expand Up @@ -274,7 +274,7 @@ exports[`renders custom alert with cancel correctly 1`] = `
onLayout={[Function]}
onPress={[Function]}
>
<View
<Component
style={
Array [
Object {
Expand Down Expand Up @@ -309,7 +309,7 @@ exports[`renders custom alert with cancel correctly 1`] = `
}
}
/>
<View
<Component
style={
Object {
"flex": 1,
Expand Down Expand Up @@ -345,7 +345,7 @@ exports[`renders custom alert with cancel correctly 1`] = `
text="World!"
textProps={Object {}}
/>
</View>
</Component>
</SafeAreaView>
<TouchableOpacity
activeOpacity={0.2}
Expand Down Expand Up @@ -375,7 +375,7 @@ exports[`renders custom alert with cancel correctly 1`] = `
}
/>
</TouchableOpacity>
</View>
</Component>
</TouchableOpacity>
</AnimatedComponent>
`;
Expand Down Expand Up @@ -418,7 +418,7 @@ exports[`renders error alert correctly 1`] = `
onLayout={[Function]}
onPress={[Function]}
>
<View
<Component
style={
Array [
Object {
Expand Down Expand Up @@ -456,7 +456,7 @@ exports[`renders error alert correctly 1`] = `
}
}
/>
<View
<Component
style={
Object {
"flex": 1,
Expand Down Expand Up @@ -492,9 +492,9 @@ exports[`renders error alert correctly 1`] = `
text="World!"
textProps={Object {}}
/>
</View>
</Component>
</SafeAreaView>
</View>
</Component>
</TouchableOpacity>
</AnimatedComponent>
`;
Expand Down Expand Up @@ -537,7 +537,7 @@ exports[`renders info alert correctly 1`] = `
onLayout={[Function]}
onPress={[Function]}
>
<View
<Component
style={
Array [
Object {
Expand Down Expand Up @@ -575,7 +575,7 @@ exports[`renders info alert correctly 1`] = `
}
}
/>
<View
<Component
style={
Object {
"flex": 1,
Expand Down Expand Up @@ -611,9 +611,9 @@ exports[`renders info alert correctly 1`] = `
text="World!"
textProps={Object {}}
/>
</View>
</Component>
</SafeAreaView>
</View>
</Component>
</TouchableOpacity>
</AnimatedComponent>
`;
Expand Down Expand Up @@ -656,7 +656,7 @@ exports[`renders success alert correctly 1`] = `
onLayout={[Function]}
onPress={[Function]}
>
<View
<Component
style={
Array [
Object {
Expand Down Expand Up @@ -694,7 +694,7 @@ exports[`renders success alert correctly 1`] = `
}
}
/>
<View
<Component
style={
Object {
"flex": 1,
Expand Down Expand Up @@ -730,9 +730,9 @@ exports[`renders success alert correctly 1`] = `
text="World!"
textProps={Object {}}
/>
</View>
</Component>
</SafeAreaView>
</View>
</Component>
</TouchableOpacity>
</AnimatedComponent>
`;
Expand Down Expand Up @@ -775,7 +775,7 @@ exports[`renders warn alert correctly 1`] = `
onLayout={[Function]}
onPress={[Function]}
>
<View
<Component
style={
Array [
Object {
Expand Down Expand Up @@ -813,7 +813,7 @@ exports[`renders warn alert correctly 1`] = `
}
}
/>
<View
<Component
style={
Object {
"flex": 1,
Expand Down Expand Up @@ -849,9 +849,9 @@ exports[`renders warn alert correctly 1`] = `
text="World!"
textProps={Object {}}
/>
</View>
</Component>
</SafeAreaView>
</View>
</Component>
</TouchableOpacity>
</AnimatedComponent>
`;
Loading

0 comments on commit 9e08a64

Please sign in to comment.