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

Allow run cordova-plugin-contacts with jasmine-node

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-js
    • None

    Description

      In nodejs convention when calling async test done() function with parameter it consider it as error object and the test fails.
      In the cordova-plugin-contacts project on the following tests the done function is eventually called with a parameter:
      contacts.spec.25
      contacts.spec.28
      contacts.spec.29

      If you'll run these tests with jasmine-node you'll get the following error:

      Message: [object Object] Stacktrace: undefined

      jasmine-node: https://github.com/mhevery/jasmine-node

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              meirotstein Meir Rotstein
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified