Skip to content

Commit

Permalink
[INTERNAL] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matz3 committed Feb 28, 2019
1 parent 83042a2 commit 0dd519c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sap.ui.requireSync("sap/ui/core/Core");
// as this module contains the Core, we ensure that the Core has been booted
sap.ui.getCore().boot && sap.ui.getCore().boot();
2 changes: 1 addition & 1 deletion test/lib/tasks/bundlers/generateLibraryPreload.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ test("integration: build sap.ui.core with library preload", async (t) => {
assert.directoryDeepEqual(destPath, expectedPath);

// Check for all file contents
t.deepEqual(expectedFiles.length, 6, "6 files are expected");
t.deepEqual(expectedFiles.length, 7, "7 files are expected");
expectedFiles.forEach((expectedFile) => {
const relativeFile = path.relative(expectedPath, expectedFile);
const destFile = path.join(destPath, relativeFile);
Expand Down

0 comments on commit 0dd519c

Please sign in to comment.