Skip to content

Commit

Permalink
fix(testing): normalize path for react CT spec generator (#17221)
Browse files Browse the repository at this point in the history
  • Loading branch information
barbados-clemens committed May 31, 2023
1 parent 465831d commit 21f642a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export async function componentTestGenerator(
'@nx/cypress/src/utils/cypress-version'
);
assertMinimumCypressVersion(10);
// normalize any windows paths
options.componentPath = options.componentPath.replace(/\\/g, '/');

const projectConfig = readProjectConfiguration(tree, options.project);

Expand Down

1 comment on commit 21f642a

@vercel
Copy link

@vercel vercel bot commented on 21f642a May 31, 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-five.vercel.app
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.