CB-12546: move check_reqs to templates directory and update module references.

This commit is contained in:
filmaj
2017-03-14 14:18:00 -07:00
parent 6395eda0c8
commit d40c22441f
19 changed files with 1079 additions and 14 deletions
+8 -1
View File
@@ -18,7 +18,7 @@
*/
/* jshint laxcomma:true */
var check_reqs = require("../../bin/lib/check_reqs");
var check_reqs = require("../../bin/templates/cordova/lib/check_reqs");
var shelljs = require("shelljs");
var fs = require("fs");
var path = require("path");
@@ -211,4 +211,11 @@ describe("check_reqs", function () {
});
});
});
describe("get_target", function() {
it("should retrieve target from framework project.properties file", function() {
var target = check_reqs.get_target();
expect(target).toBeDefined();
expect(target).toContain("android-");
});
});
});