diff --git a/packages/ra-ui-materialui/src/input/FileInput.spec.tsx b/packages/ra-ui-materialui/src/input/FileInput.spec.tsx index c71c0dcf15f..a99647d14d2 100644 --- a/packages/ra-ui-materialui/src/input/FileInput.spec.tsx +++ b/packages/ra-ui-materialui/src/input/FileInput.spec.tsx @@ -9,12 +9,12 @@ import FileInput from './FileInput'; describe('', () => { afterEach(cleanup); - const defautProps = { + const defaultProps = { source: 'image', resource: 'posts', }; - const defautPropsMultiple = { + const defaultPropsMultiple = { source: 'images', resource: 'posts', multiple: true, @@ -25,7 +25,7 @@ describe('', () => {
( - +
)} @@ -40,7 +40,7 @@ describe('', () => { ( - +
)} @@ -62,7 +62,7 @@ describe('', () => { onSubmit={onSubmit} render={({ handleSubmit }) => ( - +