MCPcopy Create free account
hub / github.com/code-pushup/cli / createNodesV2Context

Function createNodesV2Context

testing/test-nx-utils/src/lib/utils/nx-plugin.ts:3–12  ·  view source on GitHub ↗
(
  options?: Partial<CreateNodesContextV2>,
)

Source from the content-addressed store, hash-verified

1import type { CreateNodesContextV2 } from '@nx/devkit';
2
3export function createNodesV2Context(
4 options?: Partial<CreateNodesContextV2>,
5): CreateNodesContextV2 {
6 const { workspaceRoot = process.cwd(), nxJsonConfiguration = {} } =
7 options ?? {};
8 return {
9 workspaceRoot,
10 nxJsonConfiguration,
11 };
12}

Callers 2

utils.unit.test.tsFile · 0.90
utils.unit.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected