feat: upgrade to Emotion 10 (#2166)

This commit is contained in:
Shawn Erquhart
2019-03-15 10:19:57 -04:00
committed by GitHub
parent 7d6992e464
commit ccef446d72
109 changed files with 4672 additions and 3875 deletions

View File

@ -23,10 +23,10 @@
},
"devDependencies": {
"cross-env": "^5.2.0",
"jest-dom": "^2.1.1",
"react-testing-library": "^5.3.0",
"webpack": "^4.16.1",
"webpack-cli": "^3.1.0"
"jest-dom": "^3.1.3",
"react-testing-library": "^6.0.0",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
},
"peerDependencies": {
"immutable": "^3.7.6",
@ -36,6 +36,6 @@
"react-immutable-proptypes": "^2.1.0"
},
"dependencies": {
"react-select": "^2.1.1"
"react-select": "^2.4.2"
}
}

View File

@ -93,7 +93,7 @@ describe('Select widget', () => {
});
it('should call onChange with null when no item is selected', () => {
const field = fromJS({ options });
const field = fromJS({ options, required: false });
const { input, onChangeSpy } = setup({ field, defaultValue: options[0].value });
fireEvent.focus(input);