Ability to launch unit tests using carma and webpack

This commit is contained in:
boryslevytskyi
2017-05-13 21:06:35 +03:00
parent f6d9efd1b8
commit 1bd9eb2f97
9 changed files with 66 additions and 55 deletions

View File

@@ -8,15 +8,16 @@ export default {
getArgs: function (hashValue) {
var decodedHash = this.decodeHash(hashValue),
args = [];
args = { commands: [] };
splitHashList(decodedHash).forEach(function(value) {
// Support for -debur or -notrack properties
if(/^\-[a-zA-Z]+$/.test(value)) {
args[value.substr(1)] = true;
return;
}
args.push(value);
args.commands.push(value);
});
return Object.freeze(args);