committing node js tests for netflix app with DIAL 2.1

This commit is contained in:
Shruti Ranganathan Jothi
2017-02-28 11:24:36 -08:00
parent 53687736d9
commit 7ecd7c2ad0
21 changed files with 1414 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
"use strict";
function getParam(key) {
var value;
var args = process.argv.slice(2);
args.forEach(function (param) {
if(param.indexOf(key + "=") === 0) {
value = param.split("=")[1];
}
});
return value;
}
module.exports.getParam = getParam;