mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-25 01:31:54 +08:00
check in a more recent plugin testing framework
This commit is contained in:
@@ -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!"
|
||||
}
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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!"
|
||||
}
|
||||
|
||||
@@ -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!"
|
||||
}
|
||||
|
||||
@@ -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!"
|
||||
}
|
||||
|
||||
@@ -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!"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
2
node_modules/code-push-plugin-testing-framework/package.json
generated
vendored
2
node_modules/code-push-plugin-testing-framework/package.json
generated
vendored
@@ -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"
|
||||
}
|
||||
|
||||
3
node_modules/code-push-plugin-testing-framework/script/platform.js
generated
vendored
3
node_modules/code-push-plugin-testing-framework/script/platform.js
generated
vendored
@@ -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]);
|
||||
|
||||
2
node_modules/code-push-plugin-testing-framework/script/testBuilder.js
generated
vendored
2
node_modules/code-push-plugin-testing-framework/script/testBuilder.js
generated
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user