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

Commit

Permalink
Increase maxWorkers count
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaclavik authored and JosefDuda committed Feb 26, 2019
1 parent 37bd7a7 commit cce7c2e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- v1-0-jest-cache-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-0-jest-cache-
- run: yarn test
- run: yarn test --maxWorkers=2
- save_cache:
key: v1-0-jest-cache-{{ checksum "package.json" }}
paths:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test": "node node_modules/jest/bin/jest.js --config=.jest.json",
"lint": "eslint src index.js --report-unused-disable-directives",
"flow": "flow --include-warnings",
"test-ci": "yarn lint && yarn flow && yarn test",
"test-ci": "yarn lint && yarn flow && yarn test --maxWorkers=2",
"rnstl": "rnstl",
"ios": "rnstl && react-native run-ios",
"android": "rnstl && react-native run-android",
Expand Down
1 change: 1 addition & 0 deletions src/FormLabel/FormLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ const styles = StyleSheet.create({
formLabel: {
flexDirection: 'row',
marginBottom: 4,
marginStart: 10,
},
});
2 changes: 1 addition & 1 deletion src/Picker/Picker.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const onValueChange = action('onValueChange');
storiesOf('Picker', module)
.addDecorator(withKnobs)
.add('Playground', () => {
const label = text('Label');
const label = text('Label', 'Label');
const selected = select(
'selectedValue',
optionsData.map(data => data.value),
Expand Down
5 changes: 1 addition & 4 deletions src/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class TextInput extends React.Component<Props, State> {
<View style={styles.inputWrapper}>
{label != null && !inlineLabel && (
<FormLabel
style={[styles.labelContainer, labelContainerStyle]}
style={labelContainerStyle}
filled={!!value}
required={required}
disabled={disabled}
Expand Down Expand Up @@ -347,9 +347,6 @@ const styles = StyleSheet.create({
textInputPrefix: {
color: defaultTokens.colorTextInputPrefix,
},
labelContainer: {
marginLeft: 10,
},
...fontSizeGen(),
...heightGen(),
});
Expand Down
4 changes: 2 additions & 2 deletions src/TextInput/__tests__/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ exports[`TextInput should match snapshot diff between small and normal input 1`]
- <TextInput label=\\"Label\\" />
+ <TextInput label=\\"Label\\" size=\\"small\\" />
@@ -55,3 +55,3 @@
@@ -51,3 +51,3 @@
Object {
- \\"height\\": 44,
+ \\"height\\": 32,
},
@@ -88,3 +88,3 @@
@@ -84,3 +84,3 @@
Object {
- \\"height\\": 44,
+ \\"height\\": 32,
Expand Down

0 comments on commit cce7c2e

Please sign in to comment.