Cannot find name 'describe'. Do you need to install type definitions for a test runner?

ERROR in src/myApp/e2e/src/app.e2e-spec.ts(3,1): error TS2582: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.

Cannot find name 'describe'. Do you need to install type definitions for a test runner?

打开目录位置不对,我开始是在下面目录打开命令行.

Cannot find name 'describe'. Do you need to install type definitions for a test runner?

在如下目录打开命令行就解决了:

Cannot find name 'describe'. Do you need to install type definitions for a test runner?

Cannot find name 'describe'. Do you need to install type definitions for a test runner?