diff --git a/test/index.spec.tsx b/test/index.spec.tsx index b88076e2..3475c31c 100644 --- a/test/index.spec.tsx +++ b/test/index.spec.tsx @@ -5,7 +5,6 @@ it('CodeMirror', async () => { const {baseElement} = render(() => ); const cm = baseElement.firstChild.firstChild; expect(cm).toBeTruthy(); - expect(cm).toBeInTheDOM(); expect((cm as Element).classList.contains('solid-cm')).toBeTruthy(); });