diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-11-08 12:37:03 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-11-08 12:37:03 -0500 |
| commit | ef4f212fc1482136dba1e690ec589b315b4a377f (patch) | |
| tree | 0b7e16d72567fafcfd3e08d7c5c591ad07a63458 /StoneIsland/plugins/cordova-plugin-console/tests | |
| parent | 5fa81da81260d65113f57a293b6256d334fe8e2d (diff) | |
build 0.7.0
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-console/tests')
| -rw-r--r--[-rwxr-xr-x] | StoneIsland/plugins/cordova-plugin-console/tests/plugin.xml | 2 | ||||
| -rw-r--r--[-rwxr-xr-x] | StoneIsland/plugins/cordova-plugin-console/tests/tests.js | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/StoneIsland/plugins/cordova-plugin-console/tests/plugin.xml b/StoneIsland/plugins/cordova-plugin-console/tests/plugin.xml index a44db3bc..cce2c53f 100755..100644 --- a/StoneIsland/plugins/cordova-plugin-console/tests/plugin.xml +++ b/StoneIsland/plugins/cordova-plugin-console/tests/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-console-tests" - version="1.0.1"> + version="1.0.4"> <name>Cordova Console Plugin Tests</name> <license>Apache 2.0</license> diff --git a/StoneIsland/plugins/cordova-plugin-console/tests/tests.js b/StoneIsland/plugins/cordova-plugin-console/tests/tests.js index 6479e41d..74765d98 100755..100644 --- a/StoneIsland/plugins/cordova-plugin-console/tests/tests.js +++ b/StoneIsland/plugins/cordova-plugin-console/tests/tests.js @@ -19,24 +19,24 @@ * */ +/* jshint jasmine: true */ + exports.defineAutoTests = function () { describe("Console", function () { it("console.spec.1 should exist", function() { expect(window.console).toBeDefined(); }); - + it("console.spec.2 has required methods log|warn|error", function(){ expect(window.console.log).toBeDefined(); expect(typeof window.console.log).toBe('function'); - + expect(window.console.warn).toBeDefined(); expect(typeof window.console.warn).toBe('function'); - + expect(window.console.error).toBeDefined(); - expect(typeof window.console.error).toBe('function'); - + expect(typeof window.console.error).toBe('function'); }); - }); }; |
