Skip to content

Commit

Permalink
[INTERNAL] builder integration test: Enable verbose logging for build…
Browse files Browse the repository at this point in the history
… manifest test

To cover verbose logging logic.
  • Loading branch information
RandomByte authored and d3xter666 committed Aug 11, 2022
1 parent 3c6e212 commit 637eee0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/lib/builder/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -924,10 +924,13 @@ test.serial("Build library.i, bundling library.h with build manifest", async (t)
const resultBuildManifestPath = path.join(__dirname,
"..", "..", "tmp", "build", "library.i", "bundle-library.h-build-manifest", ".ui5", "build-manifest.json");

const log = require("@ui5/logger");
log.setLevel("verbose");
const graph1 = await generateProjectGraph.usingObject({
dependencyTree: libraryHTree
});
graph1.setTaskRepository(taskRepository);

await graph1.build({
destPath: libraryHDestPath,
createBuildManifest: true
Expand All @@ -947,6 +950,7 @@ test.serial("Build library.i, bundling library.h with build manifest", async (t)
destPath,
createBuildManifest: true
});
log.setLevel("info");
toISOStringStub.restore();

let expectedFiles = await findFiles(expectedPath);
Expand Down

0 comments on commit 637eee0

Please sign in to comment.