Skip to content

Commit

Permalink
[INTERNAL] Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
larskissel committed Jul 16, 2021
1 parent 6add4ea commit a187584
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/lib/cli/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ test.serial("ui5 build --include-dependency (dependency not found)", async (t) =
includeDeps: ["sap.ui.core"]
});
t.is(log.warn.callCount, 1, "log.warn should be called once");
t.deepEqual(log.warn.getCall(0).args, ["Could not find dependency 'sap.ui.core' for 'Sample'."],
t.deepEqual(log.warn.getCall(0).args,
["Could not find dependency 'sap.ui.core' in 'Sample' - dependency filter is ignored"],
"logger.warn should be called with expected string");
});

0 comments on commit a187584

Please sign in to comment.