monounity / karma-typescript

Simplifying running unit tests with coverage for Typescript projects.
313 stars 109 forks source link

error TS2582: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`. #555

Open stevemarksd opened 2 years ago

stevemarksd commented 2 years ago

Hi

I'm getting this error error TS2582: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Trynpm i --save-dev @types/jestornpm i --save-dev @types/mocha..

I installed @types/karma (which was not mentioned in the readme) and I still have these errors.

I would hope the readme could be a ready solution that just works out of the box, at the moment doesn't work without tweaks.

stevemarksd commented 2 years ago

Seems like we need to install @types/jasmine too.

stevemarksd commented 2 years ago

Seems like we need to install @types/jasmine too.

stevemarksd commented 2 years ago

Seems like we need to install @types/jasmine too.