Github user gaelenh commented on the pull request:
https://github.com/apache/cordova-plugin-media/pull/85#issuecomment-196428478
I agree with the need for a test case, however I am at a loss on where to
start. After doing ```npm install``` and ```npm test```, nothing appears to
happen other than this output:
```
> [email protected] test
/Users/gaelen/github/cordova-plugin-media
> npm run jshint "cordova-plugin-media"
> [email protected] jshint
/Users/gaelen/github/cordova-plugin-media
> jshint www && jshint src && jshint tests "cordova-plugin-media"
```
I can't quite figure out how the tests are structured. If I knew how to
add a test, I would probably want to test the create function to validate that
resourceUrl is set or something like that. Can anyone help here?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]