/* eslint-disable no-unused-vars */ /* eslint-disable no-undef */ import { render, screen, fireEvent } from '@testing-library/react'; import { Form } from '../form'; import { AMINO_ACID_SEQUENCE, NUCLEOTIDE_SEQUENCE, FASTQ_SEQUENCE, FASTA_OF_FASTQ_SEQUENCE } from './mock_data/sequences'; import '@testing-library/jest-dom/extend-expect'; import '@testing-library/react/dont-cleanup-after-each'; let container; let inputEl; describe('SEARCH COMPONENT', () => { let csrfMetaTag; beforeEach(() => { csrfMetaTag = document.createElement('meta'); csrfMetaTag.setAttribute('name', '_csrf'); csrfMetaTag.setAttribute('content', 'test-token'); document.head.appendChild(csrfMetaTag); container = render(