You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2019/11/20 19:46:31 UTC
[cordova-plugin-screen-orientation] 01/01: Use portrait mode for
lock test
This is an automated email from the ASF dual-hosted git repository.
raphinesse pushed a commit to branch raphinesse/debug-ci
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-screen-orientation.git
View the commit online:
https://github.com/apache/cordova-plugin-screen-orientation/commit/6004b49d218fcbabd25f47e4cd4402b183d8b028
commit 6004b49d218fcbabd25f47e4cd4402b183d8b028
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Wed Nov 20 20:46:12 2019 +0100
Use portrait mode for lock test
---
tests/tests.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/tests.js b/tests/tests.js
index 2b2be6e..2862692 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -118,7 +118,7 @@ exports.defineAutoTests = function() {
describe('window.screen.orientation', function() {
it('should successfully lock and unlock screen orientation, lock should return a promise', () => {
- var promise = window.screen.orientation.lock('landscape');
+ var promise = window.screen.orientation.lock('portrait');
expect(promise).toBeDefined();
expect(typeof promise.then).toBe('function');
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org