Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/ninja-fo.../src/componen.../tests
File: displayNotice.test.js
import { render, cleanup } from '@testing-library/react';
[0] Fix | Delete
import { DisplayNotice } from '../';
[1] Fix | Delete
[2] Fix | Delete
describe( 'submissions-display-notice', () => {
[3] Fix | Delete
afterEach( cleanup );
[4] Fix | Delete
it( 'Matches snapshot', () => {
[5] Fix | Delete
const { container } = render(
[6] Fix | Delete
<DisplayNotice isDismissible="false" text="Count emails sent" />
[7] Fix | Delete
);
[8] Fix | Delete
expect( container ).toMatchSnapshot();
[9] Fix | Delete
} );
[10] Fix | Delete
} );
[11] Fix | Delete
[12] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function