testing-library/angular-testing-library

Error: '"@angular/core"' has no exported member named 'OutputRef'

Closed this issue · 1 comments

Hi,
within my angular project using
"@angular/core": "17.1.0"
and devDependencies set to

    "@testing-library/angular": "17.1.0",
    "@testing-library/jasmine-dom": "^1.2.0",
    "@types/jasmine": "^5.1.4",
    "cheerio": "^1.0.0-rc.12",
    "jasmine-core": "^5.1.2",

I get the error

error TS2724: '"@angular/core"' has no exported member named 'OutputRef'. Did you mean 'Output'?

Bildschirmfoto 2024-08-07 um 13 09 44

on my karma and also wallabyjs server.

This resolves itself when downgrading back to "@testing-library/angular": "17.0.0",