flex-plugin-e2e-tests
Advanced tools
Comparing version 4.7.0-beta.0 to 4.7.1-beta.0
@@ -60,2 +60,4 @@ "use strict"; | ||
case 0: | ||
flex_plugins_utils_logger_1.logger.info("Running Plugins E2E Test with parameters:"); | ||
Object.keys(testParams).forEach(function (key) { return flex_plugins_utils_logger_1.logger.info("- " + key + ": " + testParams[key]); }); | ||
i = 0; | ||
@@ -82,3 +84,5 @@ _a.label = 1; | ||
flex_plugins_utils_logger_1.logger.info(e); | ||
// eslint-disable-next-line no-process-exit | ||
process.exit(1); | ||
}); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -39,5 +58,22 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/* eslint-disable import/no-unused-modules, no-console */ | ||
var flex_plugins_utils_logger_1 = require("flex-plugins-utils-logger"); | ||
var spawn_1 = __importStar(require("../utils/spawn")); | ||
// Install Twilio CLI and Plugins CLI | ||
var testSuite = function (params) { return __awaiter(void 0, void 0, void 0, function () { | ||
var twilioCliResult, pluginsCliResult; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/]; | ||
switch (_a.label) { | ||
case 0: | ||
flex_plugins_utils_logger_1.logger.info('Step 001 - Installing Twilio CLI and Plugins CLI'); | ||
return [4 /*yield*/, spawn_1.default('npm', 'install', "--prefix=" + process.env.HOME + "/.local", '-g', 'twilio-cli')]; | ||
case 1: | ||
twilioCliResult = _a.sent(); | ||
spawn_1.logResult(twilioCliResult); | ||
return [4 /*yield*/, spawn_1.default('twilio', 'plugins:install', "@twilio-labs/plugin-flex@" + params.packageVersion)]; | ||
case 2: | ||
pluginsCliResult = _a.sent(); | ||
spawn_1.logResult(pluginsCliResult); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
@@ -44,0 +80,0 @@ }); }; |
{ | ||
"name": "flex-plugin-e2e-tests", | ||
"version": "4.7.0-beta.0", | ||
"version": "4.7.1-beta.0", | ||
"description": "Flex Plugin E2E Tests framework", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "2efb7563df8fd763aeea92e04d665c1bd4e8e1f9" | ||
"gitHead": "bdaffe3da459382c0f6172e8066d69845dc5a6cf" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22184
12
297
7
1