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`.
打开目录位置不对,我开始是在下面目录打开命令行.
在如下目录打开命令行就解决了:
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`.
打开目录位置不对,我开始是在下面目录打开命令行.
在如下目录打开命令行就解决了: