You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2016/12/27 09:16:58 UTC

[jira] [Closed] (CB-12300) Allow run cordova-plugin-contacts with jasmine-node

     [ https://issues.apache.org/jira/browse/CB-12300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Sorokin closed CB-12300.
----------------------------------
    Resolution: Fixed

> Allow run cordova-plugin-contacts with jasmine-node
> ---------------------------------------------------
>
>                 Key: CB-12300
>                 URL: https://issues.apache.org/jira/browse/CB-12300
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS
>            Reporter: Meir Rotstein
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org