check in a more recent plugin testing framework

This commit is contained in:
scottbommarito
2016-06-13 11:28:22 -07:00
parent fdb3bd9df1
commit a892df2815
12 changed files with 23 additions and 17 deletions

View File

@@ -15,7 +15,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/visionmedia/commander.js.git"
"url": "git+https://github.com/visionmedia/commander.js.git"
},
"devDependencies": {
"should": ">= 0.0.1"
@@ -66,5 +66,6 @@
"tarball": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz"
},
"directories": {},
"_resolved": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz"
"_resolved": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz",
"readme": "ERROR: No README data found!"
}

View File

@@ -52,7 +52,7 @@
"gitHead": "7f08e823a54c6bda319d875895813537a66a4c5e",
"_id": "align-text@0.1.4",
"_shasum": "0cd90a561093f35d0a99256c22b7069433fad117",
"_from": "align-text@>=0.1.3 <0.2.0",
"_from": "align-text@>=0.1.1 <0.2.0",
"_npmVersion": "3.6.0",
"_nodeVersion": "5.5.0",
"_npmUser": {

View File

@@ -52,7 +52,7 @@
"gitHead": "7f08e823a54c6bda319d875895813537a66a4c5e",
"_id": "align-text@0.1.4",
"_shasum": "0cd90a561093f35d0a99256c22b7069433fad117",
"_from": "align-text@>=0.1.3 <0.2.0",
"_from": "align-text@>=0.1.1 <0.2.0",
"_npmVersion": "3.6.0",
"_nodeVersion": "5.5.0",
"_npmUser": {

View File

@@ -62,5 +62,6 @@
"tarball": "https://registry.npmjs.org/recast/-/recast-0.10.33.tgz"
},
"directories": {},
"_resolved": "https://registry.npmjs.org/recast/-/recast-0.10.33.tgz"
"_resolved": "https://registry.npmjs.org/recast/-/recast-0.10.33.tgz",
"readme": "ERROR: No README data found!"
}

View File

@@ -49,5 +49,6 @@
}
],
"directories": {},
"_resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.0.6.tgz"
"_resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.0.6.tgz",
"readme": "ERROR: No README data found!"
}

View File

@@ -36,7 +36,7 @@
"main": "mime.js",
"name": "mime",
"repository": {
"url": "https://github.com/broofa/node-mime",
"url": "git+https://github.com/broofa/node-mime.git",
"type": "git"
},
"version": "1.3.4",
@@ -68,5 +68,6 @@
"tarball": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz"
},
"directories": {},
"_resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz"
"_resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz",
"readme": "ERROR: No README data found!"
}

View File

@@ -14,7 +14,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/hapijs/qs.git"
"url": "git+https://github.com/hapijs/qs.git"
},
"keywords": [
"querystring",
@@ -54,5 +54,6 @@
"tarball": "https://registry.npmjs.org/qs/-/qs-2.3.3.tgz"
},
"directories": {},
"_resolved": "https://registry.npmjs.org/qs/-/qs-2.3.3.tgz"
"_resolved": "https://registry.npmjs.org/qs/-/qs-2.3.3.tgz",
"readme": "ERROR: No README data found!"
}

View File

@@ -17,7 +17,7 @@
},
"repository": {
"type": "git",
"url": "git://github.com/isaacs/readable-stream.git"
"url": "git://github.com/isaacs/readable-stream"
},
"keywords": [
"readable",
@@ -64,6 +64,5 @@
],
"directories": {},
"_shasum": "6b67983c20357cefd07f0165001a16d710d91078",
"_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.27-1.tgz",
"readme": "ERROR: No README data found!"
"_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.27-1.tgz"
}

View File

@@ -42,5 +42,6 @@
],
"directories": {},
"_shasum": "e0c93542c574521bea13df0f9488ed82ab77c5da",
"_resolved": "https://registry.npmjs.org/reduce-component/-/reduce-component-1.0.1.tgz"
"_resolved": "https://registry.npmjs.org/reduce-component/-/reduce-component-1.0.1.tgz",
"homepage": "https://github.com/redventures/reduce#readme"
}

View File

@@ -30,7 +30,7 @@
},
"readme": "ERROR: No README data found!",
"_id": "code-push-plugin-testing-framework@0.0.1",
"_shasum": "93a80e78c66bba7fc9808284855c0982b6a3c121",
"_shasum": "6ea33a661710628af266d714949fe95f88d71f0d",
"_from": "../code-push/plugin-testing-framework/bin",
"_resolved": "file:../code-push/plugin-testing-framework/bin"
}

View File

@@ -272,7 +272,8 @@ var IOSEmulatorManager = (function () {
if (!targetIOSEmulator) {
// If no iOS simulator is specified, get the most recent iOS simulator to run tests on.
testUtil_1.TestUtil.getProcessOutput("xcrun simctl list", { noLogCommand: true, noLogStdOut: true, noLogStdErr: true })
.then(function (listOfDevices) {
.then(function (listOfDevicesWithDevicePairs) {
var listOfDevices = listOfDevicesWithDevicePairs.slice(listOfDevicesWithDevicePairs.indexOf("-- iOS"), listOfDevicesWithDevicePairs.indexOf("-- tvOS"));
var phoneDevice = /iPhone (\S* )*(\(([0-9A-Z-]*)\))/g;
var match = listOfDevices.match(phoneDevice);
deferred.resolve(match[match.length - 1]);

View File

@@ -62,7 +62,7 @@ function getDescribe() {
}
function itInternal(func, expectation, isCoreTest, assertion) {
if ((!TestConfig.onlyRunCoreTests || isCoreTest)) {
// Create a wrapper around the assertion to set the timeout on the test to 5 minutes.
// Create a wrapper around the assertion to set the timeout on the test to 10 minutes.
var assertionWithTimeout = function (done) {
this.timeout(10 * 60 * 1000);
assertion(done);