Skip to content

Commit b0269f4

Browse files
committed
feat: add Podfile and Info.plist for TestApp; update appStoreVersion in CLI tests
1 parent 0d190d7 commit b0269f4

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

File renamed without changes.

tests/fixtures/resources/TestApp/iOS/TestApp/Info.plist renamed to tests/fixtures/resources/TestApp/ios/TestApp/Info.plist

File renamed without changes.

tests/integration/cli.test.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ describe("CLI", () => {
11051105
var command: cli.IReleaseReactCommand = {
11061106
type: cli.CommandType.releaseReact,
11071107
appName: "a",
1108-
appStoreVersion: null,
1108+
appStoreVersion: "1.2.3",
11091109
bundleName: bundleName,
11101110
deploymentName: "Staging",
11111111
description: "Test default entry file",
@@ -1122,7 +1122,6 @@ describe("CLI", () => {
11221122

11231123
var releaseCommand: cli.IReleaseCommand = <any>command;
11241124
releaseCommand.package = path.join(os.tmpdir(), "CodePush");
1125-
releaseCommand.appStoreVersion = "1.2.3";
11261125

11271126
sinon.assert.calledOnce(spawn);
11281127
var spawnCommand: string = spawn.args[0][0];
@@ -1142,7 +1141,7 @@ describe("CLI", () => {
11421141
var command: cli.IReleaseReactCommand = {
11431142
type: cli.CommandType.releaseReact,
11441143
appName: "a",
1145-
appStoreVersion: null,
1144+
appStoreVersion: "1.2.3",
11461145
deploymentName: "Staging",
11471146
description: "Test default entry file",
11481147
mandatory: false,
@@ -1159,7 +1158,6 @@ describe("CLI", () => {
11591158
var releaseCommand: cli.IReleaseCommand = <any>clone(command);
11601159
var packagePath: string = path.join(os.tmpdir(), "CodePush");
11611160
releaseCommand.package = packagePath;
1162-
releaseCommand.appStoreVersion = "1.2.3";
11631161

11641162
sinon.assert.calledOnce(spawn);
11651163
var spawnCommand: string = spawn.args[0][0];
@@ -1374,7 +1372,7 @@ describe("CLI", () => {
13741372
var command: cli.IReleaseReactCommand = {
13751373
type: cli.CommandType.releaseReact,
13761374
appName: "a",
1377-
appStoreVersion: null,
1375+
appStoreVersion: "1.2.3",
13781376
bundleName: bundleName,
13791377
deploymentName: "Staging",
13801378
description: "Test default entry file",
@@ -1395,7 +1393,6 @@ describe("CLI", () => {
13951393

13961394
var releaseCommand: cli.IReleaseCommand = <any>command;
13971395
releaseCommand.package = path.join(os.tmpdir(), "CodePush");
1398-
releaseCommand.appStoreVersion = "1.2.3";
13991396

14001397
sinon.assert.calledOnce(spawn);
14011398
var spawnCommand: string = spawn.args[0][0];
@@ -1424,7 +1421,7 @@ describe("CLI", () => {
14241421
var command: cli.IReleaseReactCommand = {
14251422
type: cli.CommandType.releaseReact,
14261423
appName: "a",
1427-
appStoreVersion: null,
1424+
appStoreVersion: "1.2.3",
14281425
bundleName: bundleName,
14291426
deploymentName: "Staging",
14301427
description: "Test default entry file",
@@ -1442,7 +1439,6 @@ describe("CLI", () => {
14421439

14431440
var releaseCommand: cli.IReleaseCommand = <any>command;
14441441
releaseCommand.package = path.join(os.tmpdir(), "CodePush");
1445-
releaseCommand.appStoreVersion = "1.2.3";
14461442

14471443
sinon.assert.calledOnce(spawn);
14481444
var spawnCommand: string = spawn.args[0][0];

0 commit comments

Comments
 (0)