chore(angular): make ng-add e2e tests more deterministic when checking the defaultBase (#9090)

This commit is contained in:
Leosvel Pérez Espinosa 2022-02-23 10:12:19 +00:00 committed by GitHub
parent e6941e4fc4
commit 176fdc71c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,7 @@ describe('convert Angular CLI workspace to an Nx workspace', () => {
expect(packageJson.devDependencies['@nrwl/workspace']).not.toBeDefined();
// run ng add
runNgAdd('--npm-scope projscope');
runNgAdd('--npm-scope projscope --default-base main');
// check that prettier config exits and that files have been moved
checkFilesExist(