frederikprijck / angularjs-webpack-starter

:rocket: A modern frontend setup for AngularJS projects using NPM, TypeScript and Webpack.
184 stars 59 forks source link

Problems in *.spec.ts files with jest/mocha functions. #123

Closed dkokic closed 3 years ago

dkokic commented 3 years ago

I wonder if there is a way to resolve the problems shown by vscode in *.spec.ts files. I have tried with installing the @types/jest and @types/mocha as dev dependencies, but without success.

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`.ts(2582)
frederikprijck commented 3 years ago

I am not sure, this repo is using karma/jasmine.