it()

in Tasks/codepush-release/test.js [91:104]


  it("Logout failure should not cause task to terminate", function() {
    var execStub = stubExecToFailOnCommandType("logout");
    
    performDeployTask();
    
    var expectedCommands = [
      "logout",
      "login --accessKey \"" + ACCESS_KEY + "\"",
      "release \"" + APP_NAME + "\" \"" + PACKAGE_PATH + "\" \"" + APP_STORE_VERSION + "\" --deploymentName \"" + DEPLOYMENT_NAME + "\" --description \"" + DESCRIPTION + "\" --rollout \"" + ROLLOUT + "\" --disabled",
      "logout"
    ];
    
    checkCommandsEqual(expectedCommands, execStub);
  });