[
https://issues.apache.org/jira/browse/CB-11737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433377#comment-15433377
]
Shazron Abdullah commented on CB-11737:
---------------------------------------
First run in the root of cordova-ios:
{code}
npm install
{code}
Then, to run the Obj-C tests, then run:
{code}
npm run objc-tests
{code}
Add your tests in the appropriate test files, like
https://github.com/apache/cordova-ios/blob/master/tests/CordovaLibTests/CDVPluginResultJSONSerializationTests.m
> cordova-ios crash in case of Infinity value in result
> -----------------------------------------------------
>
> Key: CB-11737
> URL: https://issues.apache.org/jira/browse/CB-11737
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Chris Brody
> Assignee: Shazron Abdullah
>
> In case an iOS plugin attempts to return a JSON result with an Infinity value
> it will crash with NSInvalidArgumentException. I discovered this when
> investigating this issue:
> https://github.com/litehelpers/Cordova-sqlite-storage/issues/405
> Similar to: CB-9435
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]