Closed

Description
I have an Angular 10 CLI project (v10.1.2). I've installed @testing-library/[email protected]
, but as I'm using Karma (configured via Angular) and Typescript, I'm not sure how to install this library!
I tried following the instructions for the latest version (v1.1.0), but while I can see the matchers on the HTMLMatchers
type in VSCode, I can't actually add the Matchers, because trying to import them with import JasmineDOM from '@testing-library/jasmine-dom';
gives an error File C:/.../node_modules/@types/testing-library__jasmine-dom/index.d.ts is not a module
.
As this is an Angular CLI project, would it actually make more sense to use a karma plugin!?