From 71075a1f32651befd02b85f8cc1c35caa8b07459 Mon Sep 17 00:00:00 2001 From: maverickmishra Date: Wed, 25 Jan 2017 15:21:04 -0800 Subject: [PATCH] removed redundant tests --- tests/tests.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/tests.js b/tests/tests.js index e06c2b1..fe2778e 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -69,22 +69,5 @@ exports.defineAutoTests = function() { expect(window.OrientationLockType['any']).toBe(15); }); }); - describe('Screen object should exist', function () { - it("should exist", function() { - expect(window.screen).toBeDefined(); - }); - - it(" screen should contain an attribute called ScreenOrientation", function() { - expect(window.screen.orientation).toBeDefined(); - }); - it(" Screenorientation object should contain methods called lock and unlock", function() { - expect(window.screen.orientation.lock).toEqual(jasmine.any(Function)); - expect(window.screen.orientation.unlock).toEqual(jasmine.any(Function)); - }); - it(" Screenorientation object should contain property called type", function() { - expect(window.screen.orientation.type).toBeDefined(); - }); - - }); };