summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/cordova-plugin-splashscreen/tests/tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-splashscreen/tests/tests.js')
-rw-r--r--StoneIsland/plugins/cordova-plugin-splashscreen/tests/tests.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/StoneIsland/plugins/cordova-plugin-splashscreen/tests/tests.js b/StoneIsland/plugins/cordova-plugin-splashscreen/tests/tests.js
index 8c4d22b4..7b55a81c 100644
--- a/StoneIsland/plugins/cordova-plugin-splashscreen/tests/tests.js
+++ b/StoneIsland/plugins/cordova-plugin-splashscreen/tests/tests.js
@@ -19,18 +19,20 @@
*
*/
-exports.defineAutoTest = function () {
+/* jshint jasmine: true */
+
+exports.defineAutoTests = function () {
describe('Splashscreen (cordova)', function () {
it("splashscreen.spec.1 should exist", function () {
expect(navigator.splashscreen).toBeDefined();
});
- it("splashscreen.spec.2 exec method should exist", function () {
+ it("splashscreen.spec.2 show method should exist", function () {
expect(navigator.splashscreen.show).toBeDefined();
expect(typeof navigator.splashscreen.show).toBe('function');
});
- it("splashscreen.spec.3 exec method should exist", function () {
+ it("splashscreen.spec.3 hide method should exist", function () {
expect(navigator.splashscreen.hide).toBeDefined();
expect(typeof navigator.splashscreen.hide).toBe('function');
});