Skip to content

Commit 5f256c7

Browse files
committed
test(angular): try to fix pnpm install in e2e tests
1 parent 2f7cab0 commit 5f256c7

3 files changed

Lines changed: 276 additions & 17 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
@@ -95,6 +95,7 @@
9595
"jest-preset-angular": "8.3.1",
9696
"json": "^10.0.0",
9797
"lint-staged": "^10.5.3",
98+
"ng-packagr": "^11.0.3",
9899
"prettier": "2.1.2",
99100
"ts-jest": "26.4.0",
100101
"ts-node": "~9.1.1",

0 commit comments

Comments
 (0)