Fix File
•
/
home
/
sportsfe...
/
public_h...
/
clone
/
wp-conte...
/
plugins
/
ninja-fo...
/
src
/
componen...
/
tests
•
File:
selectForms.test.js
•
Content:
import { render, cleanup } from '@testing-library/react'; import { globalParams } from './mockData'; import { SelectForms } from '../'; describe( 'submissions-select-forms', () => { afterEach( cleanup ); it( 'Matches snapshot', () => { const data = { data: { globalParams, }, }; const setForms = jest.fn(); const { container } = render( <SelectForms data={ data } setForms={ setForms } /> ); expect( container ).toMatchSnapshot(); } ); } );
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List