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

Allow run cordova-plugin-contacts with jasmine-node

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-js
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                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