Closed Bug 958146 Opened 10 years ago Closed 10 years ago

[Camera] fxos specific APIs need to be mocked in order to renable some of the unit tests

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dmarcos, Assigned: wilsonpage)

Details

Attachments

(1 file, 1 obsolete file)

46 bytes, text/x-github-pull-request
dmarcos
: review+
Details | Review
We have disabled several of the unit tests that were failing in travis. Some of the fxos specific APIs have to be mocked before renabling the tests. Below links to the travis results containing the errors:

https://travis-ci.org/mozilla-b2g/gaia/jobs/16619099

Error messages:

TypeError: navigator.getDeviceStorage is not a function
TypeError: Cannot stub non-existent own property mozHasPendingMessage
Error: global leak detected: debug
Assignee: nobody → wilsonpage
Attached file Pull Request (obsolete) —
Attachment #8359813 - Flags: review?(dmarcos)
Attached file Pull Request
Attachment #8359813 - Attachment is obsolete: true
Attachment #8359813 - Flags: review?(dmarcos)
Attachment #8360554 - Flags: review?(dmarcos)
Landed in master:

https://github.com/mozilla-b2g/gaia/commit/6cf2caea1ffb04255ccd6f43b79be93d8aa4d611
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Attachment #8360554 - Flags: review?(dmarcos) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: