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:
    
    ```
    > cordova-plugin-media@2.2.1-dev test 
/Users/gaelen/github/cordova-plugin-media
    > npm run jshint "cordova-plugin-media"
    
    
    > cordova-plugin-media@2.2.1-dev 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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to