diff --git a/test/fixtures/lbt/modules/es6-async-module.js b/test/fixtures/lbt/modules/es6-async-module.js index ba5cd4b8f..ae8ab1528 100644 --- a/test/fixtures/lbt/modules/es6-async-module.js +++ b/test/fixtures/lbt/modules/es6-async-module.js @@ -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 +}); diff --git a/test/fixtures/lbt/modules/es6-syntax-dynamic-dependencies.js b/test/fixtures/lbt/modules/es6-syntax-dynamic-dependencies.js index 83c644110..693a48cd7 100644 --- a/test/fixtures/lbt/modules/es6-syntax-dynamic-dependencies.js +++ b/test/fixtures/lbt/modules/es6-syntax-dynamic-dependencies.js @@ -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]); - });