import { render, screen } from '@testing-library/react'; import { expect } from 'chai'; import React from 'react'; import ExplainTree from '.'; describe('ExplainTree [Component]', function () { const nodes: any[] = []; const links: any[] = []; const width = 100; const height = 100; beforeEach(function () { render( ); }); it('renders', function () { expect(screen.getByTestId('explain-tree')).to.exist; }); });