Skip to content
Permalink
Browse files
no hardcoded api path, making this reusable
  • Loading branch information
purplecabbage committed May 10, 2017
1 parent f447269 commit 200ddc55a23ef3300cbe93feef1692524e20e49a
Showing 1 changed file with 4 additions and 1 deletion.
@@ -17,7 +17,10 @@
under the License.
*/

var Api = require("../src/cordova/Api");
var Api = require("..");
/*
Note: require is expecting the package.json to define "main" with the path to Api.js for the platform.
*/

describe('can get the Api', function() {

0 comments on commit 200ddc5

Please sign in to comment.