MCPcopy Create free account
hub / github.com/SAP/ui5-project / createProject

Function createProject

test/lib/graph/ProjectGraph.js:11–23  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

9const applicationAPath = path.join(__dirname, "..", "..", "fixtures", "application.a");
10
11async function createProject(name) {
12 return await Specification.create({
13 id: "application.a.id",
14 version: "1.0.0",
15 modulePath: applicationAPath,
16 configuration: {
17 specVersion: "2.3",
18 kind: "project",
19 type: "application",
20 metadata: {name}
21 }
22 });
23}
24
25async function createExtension(name) {
26 return await Specification.create({

Callers 1

ProjectGraph.jsFile · 0.85

Calls 1

createMethod · 0.80

Tested by

no test coverage detected