Skip to content

Commit 80f2d13

Browse files
committed
test(angular): try to fix pnpm install in e2e tests
1 parent 542b170 commit 80f2d13

3 files changed

Lines changed: 355 additions & 39 deletions

File tree

e2e/angular-e2e/tests/convert-to-buildable.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ import {
55
readJson,
66
runNxCommand,
77
runNxCommandAsync,
8+
runPackageManagerInstall,
89
uniq,
910
} from '@nrwl/nx-plugin/testing';
1011
import * as path from 'path';
1112

1213
describe('@nxworker/angular:convert-to-buildable generator e2e', () => {
1314
beforeAll(() => {
14-
copyNodeModules(['@nrwl/angular']);
15+
copyNodeModules(['@nrwl/angular', 'ng-packagr']);
16+
runPackageManagerInstall();
1517
});
1618

1719
beforeEach(async () => {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"jest": "26.2.2",
8888
"jest-preset-angular": "8.3.1",
8989
"json": "^10.0.0",
90+
"ng-packagr": "^11.0.3",
9091
"prettier": "2.1.2",
9192
"ts-jest": "26.4.0",
9293
"ts-node": "~9.1.1",

0 commit comments

Comments
 (0)