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/tests.js | |
| parent | 5fa81da81260d65113f57a293b6256d334fe8e2d (diff) | |
build 0.7.0
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-console/tests/tests.js')
| -rw-r--r--[-rwxr-xr-x] | StoneIsland/plugins/cordova-plugin-console/tests/tests.js | 12 |
1 files changed, 6 insertions, 6 deletions
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'); }); - }); }; |
