Skip to content

Commit 1ff1b0b

Browse files
matz3flovogt
authored andcommitted
Disable logHTMLFilePath
1 parent 4fb0af3 commit 1ff1b0b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

karma-gherkin.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = function(config) {
66

77
ui5: {
88
logAssertions: true,
9-
logHTMLFilePath: true,
9+
logHTMLFilePath: false,
1010
testpage: "webapp/test/gherkin/gherkinTests.qunit.html"
1111
},
1212

webapp/test/gherkin/Steps.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ sap.ui.define([
1313
) {
1414
"use strict";
1515

16-
var sViewName = "sap.ui.demo.todo.view.App";
16+
const sViewName = "sap.ui.demo.todo.view.App";
1717
// var sAddToItemInputId = "addTodoItemInput";
1818
// var sSearchTodoItemsInputId = "searchTodoItemsInput";
19-
var sItemListId = "todoList";
19+
const sItemListId = "todoList";
2020
// var sClearCompletedId = "clearCompleted";
2121

22-
var oOpa5 = new Opa5();
22+
const oOpa5 = new Opa5();
2323

24-
var Steps = StepDefinitions.extend("sap.ui.demo.todo.test.gherkin.Steps", {
24+
const Steps = StepDefinitions.extend("sap.ui.demo.todo.test.gherkin.Steps", {
2525
init: function() {
2626

2727
this.register(/^I have started the app$/i, function() {
@@ -35,7 +35,7 @@ sap.ui.define([
3535
});
3636

3737
this.register(/^I can see ([0-9]+) items? in the list$/i, function(sItemCount) {
38-
var iItemCount = parseInt(sItemCount, 10);
38+
const iItemCount = parseInt(sItemCount, 10);
3939
oOpa5.waitFor({
4040
id: sItemListId,
4141
viewName: sViewName,

0 commit comments

Comments
 (0)