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

cordova-js unit tests fail on node 0.12.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Master
    • None
    • cordova-js
    • None

    Description

      Tests however pass on node 0.10.x

      $ npm test
      
      > cordova-js@3.9.1-dev test /Users/shazron/Desktop/cordova-js
      > grunt test --platformVersion=3.6.0
      
      Running "compile:amazon-fireos" (compile) task
      generated cordova.amazon-fireos.js @ b0463746dd842818c1f08560e998ec847460596c in 25ms
      
      Running "compile:android" (compile) task
      generated cordova.android.js @ b0463746dd842818c1f08560e998ec847460596c in 16ms
      
      Running "compile:blackberry10" (compile) task
      generated cordova.blackberry10.js @ b0463746dd842818c1f08560e998ec847460596c in 40ms
      
      Running "compile:ios" (compile) task
      generated cordova.ios.js @ b0463746dd842818c1f08560e998ec847460596c in 8ms
      
      Running "compile:osx" (compile) task
      generated cordova.osx.js @ b0463746dd842818c1f08560e998ec847460596c in 9ms
      
      Running "compile:test" (compile) task
      generated cordova.test.js @ b0463746dd842818c1f08560e998ec847460596c in 10ms
      
      Running "compile:windows" (compile) task
      generated cordova.windows.js @ b0463746dd842818c1f08560e998ec847460596c in 15ms
      
      Running "compile:wp8" (compile) task
      generated cordova.wp8.js @ b0463746dd842818c1f08560e998ec847460596c in 13ms
      
      Running "compile:firefoxos" (compile) task
      generated cordova.firefoxos.js @ b0463746dd842818c1f08560e998ec847460596c in 10ms
      
      Running "compile:webos" (compile) task
      generated cordova.webos.js @ b0463746dd842818c1f08560e998ec847460596c in 9ms
      
      Running "compile:ubuntu" (compile) task
      generated cordova.ubuntu.js @ b0463746dd842818c1f08560e998ec847460596c in 7ms
      
      Running "compile:browser" (compile) task
      generated cordova.browser.js @ b0463746dd842818c1f08560e998ec847460596c in 7ms
      
      Running "jshint:src" (jshint) task
      >> 54 files lint free.
      
      Running "_test" task
      starting node-based tests
      ------------
      Unit Tests:
      Could not find cordova.js script tag. Plugin loading may fail.
      Fatal error: Cannot set property length of [object Object] which has only a getter
      npm ERR! Test failed.  See above for more details.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shazron Shazron Abdullah
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: