diff --git a/docs/Step_27_Unit_Test_with_QUnit_TypeScript_750c8c1.md b/docs/Step_27_Unit_Test_with_QUnit_TypeScript_750c8c1.md index 57fb64cd..3445b5a1 100644 --- a/docs/Step_27_Unit_Test_with_QUnit_TypeScript_750c8c1.md +++ b/docs/Step_27_Unit_Test_with_QUnit_TypeScript_750c8c1.md @@ -119,8 +119,8 @@ The page will be referenced in the test suite that we will create next. - - -
-
+
+
``` @@ -156,8 +156,8 @@ For more information, see [Concept and Basic Setup](Concept_and_Basic_Setup_22f5 ```ts export default { - name: "QUnit test suite for UI5 TypeScript Walkthrough", - defaults: { + name: "QUnit test suite for UI5 TypeScript Walkthrough", + defaults: { page: "ui5://test-resources/ui5/walkthrough/Test.qunit.html?testsuite={suite}&test={name}", qunit: { version: 2 @@ -170,12 +170,12 @@ export default { "ui5/walkthrough": "../" } } - }, - tests: { - "unit/unitTests": { - title: "UI5 TypeScript Walkthrough - Unit Tests" - } - } + }, + tests: { + "unit/unitTests": { + title: "UI5 TypeScript Walkthrough - Unit Tests" + } + } }; ``` diff --git a/docs/Step_27_Unit_Test_with_QUnit_e1ce1de.md b/docs/Step_27_Unit_Test_with_QUnit_e1ce1de.md index 14a8e6f5..99b65293 100644 --- a/docs/Step_27_Unit_Test_with_QUnit_e1ce1de.md +++ b/docs/Step_27_Unit_Test_with_QUnit_e1ce1de.md @@ -152,31 +152,30 @@ The test suite serves as the entry point for all tests within our project such a ```js - sap.ui.define(() => { - "use strict"; - return { - name: "QUnit test suite for UI5 Walkthrough", - defaults: { - page: "ui5://test-resources/ui5/walkthrough/Test.qunit.html?testsuite={suite}&test={name}", - qunit: { - version: 2 - }, - ui5: { - theme: "sap_horizon" - }, - loader: { - paths: { - "ui5/walkthrough": "../" - } - } - }, - tests: { - "unit/unitTests": { - title: "UI5 Walkthrough - Unit Tests" - } - } - }; + "use strict"; + return { + name: "QUnit test suite for UI5 Walkthrough", + defaults: { + page: "ui5://test-resources/ui5/walkthrough/Test.qunit.html?testsuite={suite}&test={name}", + qunit: { + version: 2 + }, + ui5: { + theme: "sap_horizon" + }, + loader: { + paths: { + "ui5/walkthrough": "../" + } + } + }, + tests: { + "unit/unitTests": { + title: "UI5 Walkthrough - Unit Tests" + } + } + }; }); ``` diff --git a/docs/Step_28_Integration_Test_with_OPA_9bf4dce.md b/docs/Step_28_Integration_Test_with_OPA_9bf4dce.md index 29694937..a2823747 100644 --- a/docs/Step_28_Integration_Test_with_OPA_9bf4dce.md +++ b/docs/Step_28_Integration_Test_with_OPA_9bf4dce.md @@ -155,9 +155,8 @@ We create a new `opaTests.qunit.js` file under `webapp/test/integration/`. This module imports our `NavigationJourney` and is the entrypoint for all integration tests in the project. ```js - sap.ui.define([ - "./NavigationJourney" + "./NavigationJourney" ]); ``` @@ -170,7 +169,6 @@ sap.ui.define([ Finally we reference the new `integration/opaTests.qunit.js` in the `testsuite.qunit.js` file. The `.qunit.js` extension is omitted and will be added automatically during runtime. ```js - sap.ui.define(() => { "use strict"; return { diff --git a/docs/Step_28_Integration_Test_with_OPA_TypeScript_412f0b6.md b/docs/Step_28_Integration_Test_with_OPA_TypeScript_412f0b6.md index 18d695cc..96924be8 100644 --- a/docs/Step_28_Integration_Test_with_OPA_TypeScript_412f0b6.md +++ b/docs/Step_28_Integration_Test_with_OPA_TypeScript_412f0b6.md @@ -164,9 +164,8 @@ import "./NavigationJourney"; Finally we reference the new `integration/opaTests.qunit.ts` in the `testsuite.qunit.ts` file. The `.qunit.ts` extension is omitted and will be added automatically during runtime. ```ts - export default { - // ... + // ... tests: { "unit/unitTests": { title: "UI5 TypeScript Walkthrough - Unit Tests"