cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-12300) Allow run cordova-plugin-contacts with jasmine-node
Date Tue, 27 Dec 2016 08:40:58 GMT


ASF GitHub Bot commented on CB-12300:

Github user meirotstein commented on the issue:
    Hi @alsorokin 
    I have wrapped the defineAutoTests method with my own 'describe' and executed jasmine-node
via command line - 
    you can see how I use it here (depending a forked fixed version) :
    jasmine-node spec
    These tests are also ran by [travis](

> Allow run cordova-plugin-contacts with jasmine-node
> ---------------------------------------------------
>                 Key: CB-12300
>                 URL:
>             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:

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message