This is an automated email from the ASF dual-hosted git repository.

GitToTheHub pushed a commit to branch 
pr-ci-android-use-xdescribe-to-skip-content-url-tests
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git

commit 37fa5ea7ab0d5166a615835bc859022c4fd8b4b3
Author: Manuel Beck <[email protected]>
AuthorDate: Sat Aug 15 12:14:17 2026 +0200

    ci(android): skip `content:`// URL tests by `xdescribe`
    
    - `pending()` called inside `describe` callback is treated by Jasmine 5.9 
as a thrown suite failure.
    - Use `xdescribe´ instead of `pending()` so Jasmine does not fail the suite 
during definition.
    
    Generated-By: GPT-5.6 Luna
---
 tests/tests.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/tests.js b/tests/tests.js
index d42dae4..80b1e98 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -4009,11 +4009,10 @@ exports.defineAutoTests = function () {
 
         // Content and Asset URLs
         if (cordova.platformId === 'android') { // eslint-disable-line no-undef
-            describe('content: URLs', function () {
+            xdescribe('content: URLs', function () {
                 // content:// scheme URLs appear to not work when the app is 
served through http(s)://
                 // This might be related to the AssetLoader not being able to 
intercept...
                 // For now, these tests will be skipped to not affect any test 
results.
-                pending();
 
                 // Warning: Default HelloWorld www directory structure is 
required for these tests (www/index.html at least)
                 function testContentCopy (src, done) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to