cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12300) Allow run cordova-plugin-contacts with jasmine-node
Date Tue, 27 Dec 2016 09:14:58 GMT

    [ https://issues.apache.org/jira/browse/CB-12300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15780000#comment-15780000
] 

ASF subversion and git services commented on CB-12300:
------------------------------------------------------

Commit 88192bf17fe0dc790ae705a7a4f14d016b48f254 in cordova-plugin-contacts's branch refs/heads/master
from [~meirotstein]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=88192bf ]

CB-12300: fix tests failure when running it using jasmine-node


> 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


Mime
View raw message