Skip to content

Commit

Permalink
fix(testing): fix failing workspace e2e tests (#5846)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Jun 7, 2021
1 parent 94aef0a commit 0de2725
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions e2e/workspace/src/create-nx-workspace.test.ts
Expand Up @@ -178,11 +178,12 @@ describe('create-nx-workspace', () => {
expect(existsSync(`${tmpDir}/${wsName}/package.json`)).toBeTruthy();
});

// temporary disable this
xit('should respect package manager preference', () => {
it('should respect package manager preference', () => {
const wsName = uniq('pm');
const appName = uniq('app');

process.env.YARN_REGISTRY = `http://localhost:4872`;

runCreateWorkspace(wsName, {
preset: 'react',
style: 'css',
Expand All @@ -194,10 +195,12 @@ describe('create-nx-workspace', () => {
checkFilesDoNotExist('package-lock.json');
});

// temporary disable this
xit('should store package manager preference for angular cli', () => {
it('should store package manager preference for angular cli', () => {
const wsName = uniq('pm');
const appName = uniq('app');

process.env.YARN_REGISTRY = `http://localhost:4872`;

runCreateWorkspace(wsName, {
preset: 'angular',
appName,
Expand Down

0 comments on commit 0de2725

Please sign in to comment.