Skip to content

Commit

Permalink
fix(testing): cypress add e2ecidefault should handle no matching plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Aug 5, 2024
1 parent 4dcc4f2 commit 05b8970
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export default async function addE2eCiTargetDefaults(tree: Tree) {
typeof p === 'string' ? p === pluginName : p.plugin === pluginName
);

if (!matchingPluginRegistrations) {
return;
}

const {
createNodesV2,
}: { createNodesV2: CreateNodesV2<CypressPluginOptions> } = await import(
Expand Down

0 comments on commit 05b8970

Please sign in to comment.