Skip to content

Commit

Permalink
[INTERNAL] code style
Browse files Browse the repository at this point in the history
  • Loading branch information
flovogt committed Aug 17, 2022
1 parent 0fdb427 commit efa5eab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 5 additions & 5 deletions test/fixtures/lbt/modules/es6-async-module.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// async function with await
sap.ui.define([], async () => {
return await sap.ui.require(["static/module1"], async () => {});
// await and sap.ui.require, makes so sense because it does NOT return a promise but it should still be analyzed
});
// async function with await
sap.ui.define([], async () => {
return await sap.ui.require(["static/module1"], async () => {});
// await and sap.ui.require, makes so sense because it does NOT return a promise but it should still be analyzed
});
2 changes: 0 additions & 2 deletions test/fixtures/lbt/modules/es6-syntax-dynamic-dependencies.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
sap.ui.define([
'static/module1'
], () => {

// spread expression
const dynamicModules = ["not-detected/module1"]; // TODO: should this be supported?
sap.ui.require(["static/module1", ...dynamicModules]);

});

0 comments on commit efa5eab

Please sign in to comment.