When trying to utilize @testing-library/vue
with the screen method imported, I encountered an error from ESLint stating:
"screen not found in @testing-library/vue"
.
// The render function doesn't give an error but screen does
import { render, screen } from '@testing-library/vue';
Has anyone else faced this issue before? It seems like it could be because @testing-library/vue
re-exports methods from @testing-library/dom
, which I assumed ESLint would recognize.