| 1234567891011121314 |
- import SectionLoader from '../../../../components/Loader/SectionLoader';
- import ReactDOM from 'react-dom'
- import React from 'react'
- import { getByTestId, render, screen } from '@testing-library/react';
-
- describe("Section loader tests", () =>
- {
- it("render without crashing", () =>
- {
- const div = document.createElement('div');
- const divChildren = document.createElement('div');
- ReactDOM.render(<SectionLoader children={divChildren} isLoading={true}></SectionLoader>, div);
- })
- })
|