feat: upgrade to Emotion 10 (#2166)
This commit is contained in:
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user