forked from mauriciolauffer/wdio-qunit-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a18a1c0
commit 6fa35d6
Showing
9 changed files
with
753 additions
and
818 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
sap.ui.define([ | ||
"./controller/App.controller" | ||
"./controller/App.controller", | ||
"./controller/NestedModule.controller" | ||
]); |
44 changes: 44 additions & 0 deletions
44
examples/openui5-sample-app/webapp/test/unit/controller/NestedModule.controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* global QUnit, sinon*/ | ||
|
||
sap.ui.define([ | ||
], () => { | ||
"use strict"; | ||
|
||
QUnit.module("Test nested modules", { | ||
beforeEach() { | ||
this.wdio = true; | ||
}, | ||
afterEach() { | ||
this.wdio = null; | ||
} | ||
}, function() { | ||
QUnit.module('QUnit nested module 1', () => { | ||
QUnit.test('Should pass dummy test 1', (assert) => { | ||
assert.equal(1, 1); | ||
}); | ||
}); | ||
|
||
QUnit.module('QUnit nested module 2', () => { | ||
QUnit.test('Should pass dummy test 1', (assert) => { | ||
assert.equal(1, 1); | ||
}); | ||
|
||
QUnit.test('Should pass dummy test 2', (assert) => { | ||
assert.equal(1, 1); | ||
}); | ||
|
||
QUnit.test('Should pass dummy test 3', (assert) => { | ||
assert.equal(1, 1); | ||
}); | ||
}); | ||
|
||
QUnit.module('QUnit nested module 3', () => { | ||
QUnit.module('QUnit double nested module 1', () => { | ||
QUnit.test('Should pass dummy test 1', (assert) => { | ||
assert.equal(1, 1); | ||
}); | ||
}); | ||
}); | ||
}); | ||
|
||
}); |
Oops, something went wrong.