Created
March 8, 2017 21:04
-
-
Save stwilz/5e777e486d16c24fe15e2dea51aec80b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CordovaMock { | |
constructor() { | |
this.platformId = 'ios'; | |
this.platformVersion = '4.3.1'; | |
this.plugins = { | |
}; | |
this.version = '4.3.1'; | |
} | |
require(id){} | |
} | |
global.cordova = new CordovaMock; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment