commit | 200ddc55a23ef3300cbe93feef1692524e20e49a | [log] [tgz] |
---|---|---|
author | Jesse MacFadyen <purplecabbage@gmail.com> | Wed May 10 13:51:00 2017 -0700 |
committer | Jesse MacFadyen <purplecabbage@gmail.com> | Wed May 10 13:51:00 2017 -0700 |
tree | e69c9020f365e1f5d4f008303f7bd494b71d3ba7 | |
parent | f447269bf02524ef88db7708356c429bd82cf452 [diff] |
no hardcoded api path, making this reusable
diff --git a/spec/projectApi.spec.js b/spec/projectApi.spec.js index 5f5b090..c780ce9 100644 --- a/spec/projectApi.spec.js +++ b/spec/projectApi.spec.js
@@ -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() {