diff --git a/src/components/Asset/Edit/FormEditMetadata.test.tsx b/src/components/Asset/Edit/FormEditMetadata.test.tsx deleted file mode 100644 index 0cf9441b1..000000000 --- a/src/components/Asset/Edit/FormEditMetadata.test.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { render, screen } from '@testing-library/react' -import React from 'react' -import Formik, { FormikErrors, FormikTouched, FormikState } from 'formik' -import FormEditMetadata from './FormEditMetadata' -import content from '../../../../content/pages/editMetadata.json' - -let fieldMock = {} -const metaMock = {} -const helperMock = {} - -jest.mock('formik', () => ({ - ...jest.requireActual('formik'), - useField: jest.fn(() => { - return [fieldMock, metaMock, helperMock] - }) -})) - -describe('src/components/Asset/Edit/FormEditMetadata.tsx', () => { - // const useFormikContextMock = jest.spyOn(Formik, 'useFormikContext') - - it('renders fixed price', () => { - fieldMock = { foo: 'bar' } - render( - - ) - expect(screen.getByText('New Title')).toBeInTheDocument() - }) -})