Skip to content

Commit

Permalink
chore(core): fix e2e for nx show (#17268)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored May 27, 2023
1 parent 13ba79e commit 79086f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e/nx-misc/src/misc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ describe('Nx Commands', () => {
const withTargets = JSON.parse(
runCLI('show projects --with-target e2e --json')
);
expect(withTargets).toEqual([`${app1}-e2e`, `${app2}-e2e`]);
expect(withTargets).toEqual(
expect.arrayContaining([`${app1}-e2e`, `${app2}-e2e`])
);
expect(withTargets.length).toEqual(2);
});

it('should show detailed project info', () => {
Expand Down

1 comment on commit 79086f7

@vercel
Copy link

@vercel vercel bot commented on 79086f7 May 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx.dev

Please sign in to comment.