Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8424

compass.hardwarecheck spec is failing instead of being pending

    XMLWordPrintableJSON

Details

    Description

      When compass is not supported on the device, Device Orientation plugin's compass.hardwarecheck spec is failing.

      Usually, pending state is used to mark the unsupported functionality but it looks like due to jasmine limitations we cannot pend spec from async call so the remaining options is make it green on leave it failing.

      Since that missing compass is not a problem with the code but with device itself, I suggest that we mark the check as green and leave all dependent tests as pending.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alsorokin Alexander Sorokin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: