Skip to content

Commit

Permalink
test(angular): try to fix pnpm install in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LayZeeDK committed Jan 11, 2021
1 parent 2f7cab0 commit 5f256c7
Show file tree
Hide file tree
Showing 3 changed files with 276 additions and 17 deletions.
4 changes: 3 additions & 1 deletion e2e/angular-e2e/tests/convert-to-buildable.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ import {
readJson,
runNxCommand,
runNxCommandAsync,
runPackageManagerInstall,
uniq,
} from '@nrwl/nx-plugin/testing';
import * as path from 'path';

describe('@nxworker/angular:convert-to-buildable generator e2e', () => {
beforeAll(() => {
copyNodeModules(['@nrwl/angular']);
copyNodeModules(['@nrwl/angular', 'ng-packagr']);
runPackageManagerInstall();
});

beforeEach(async () => {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"jest-preset-angular": "8.3.1",
"json": "^10.0.0",
"lint-staged": "^10.5.3",
"ng-packagr": "^11.0.3",
"prettier": "2.1.2",
"ts-jest": "26.4.0",
"ts-node": "~9.1.1",
Expand Down
Loading

0 comments on commit 5f256c7

Please sign in to comment.