mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Add install-sdk into cordova self-test
This commit is contained in:
8
tools/tests/cordova-platforms.js
vendored
8
tools/tests/cordova-platforms.js
vendored
@@ -16,6 +16,14 @@ selftest.define("add cordova platforms", function () {
|
||||
run.match("meteor add-platform android");
|
||||
run.expectExit(1);
|
||||
|
||||
run = s.run("add-platform", "android");
|
||||
run.matchErr("Platform is not installed");
|
||||
run.expectExit(2);
|
||||
|
||||
run = s.run("install-sdk", "android");
|
||||
run.extraTime = 90; // Big downloads
|
||||
run.expectExit(0);
|
||||
|
||||
run = s.run("add-platform", "android");
|
||||
run.match("Do you agree");
|
||||
run.write("Y\n");
|
||||
|
||||
Reference in New Issue
Block a user