commit | d85890573b5c6389046d885b01a15bb107e24d41 | [log] [tgz] |
---|---|---|
author | Vladimir Kotikov <v-vlkoti@microsoft.com> | Wed Feb 11 17:33:20 2015 +0300 |
committer | Vladimir Kotikov <v-vlkoti@microsoft.com> | Wed Feb 11 17:33:20 2015 +0300 |
tree | a0fd0568bee1e0b8ba13c75afb28069e52048e7a | |
parent | 213cd4b76519428484b78cb4292e0070c23d776d [diff] |
CB-8096 Pended recently added spec.12 if accelerometer doesn't exist on the device
diff --git a/tests/tests.js b/tests/tests.js index 84cb799..d7c5ec9 100644 --- a/tests/tests.js +++ b/tests/tests.js
@@ -172,6 +172,10 @@ }); it("accelerometer.spec.12 success callback should be preserved and called several times", function (done) { + // skip the test if Accelerometer doesn't exist on this device + if (!isAccelExist) { + pending(); + } var callbacksCallCount = 0, callbacksCallTestCount = 3;