Skip to content

Commit

Permalink
fixes #731
Browse files Browse the repository at this point in the history
  • Loading branch information
garris committed Apr 18, 2018
1 parent 95f156a commit d4f9956
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/util/createBitmaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ function delegateScenarios (config) {
config.scenarios.forEach(function (scenario, i) {
// var scenarioLabelSafe = makeSafe(scenario.label);
scenario.sIndex = i;
scenario.selectors = scenario.selectors || [];
scenarios.push(scenario);

if (!config.isReference && scenario.hasOwnProperty('variants')) {
Expand Down Expand Up @@ -185,7 +186,7 @@ function flatMapTestPairs (rawTestPairs) {
}

module.exports = function (config, isReference) {
if (/chrom./i.test(config.engine) || config.engine.startsWith('puppet')) {
if (/chrom./i.test(config.engine) || /puppet/i.test(config.engine)) {
const promise = delegateScenarios(decorateConfigForCapture(config, isReference))
.then(rawTestPairs => {
const result = {
Expand Down

0 comments on commit d4f9956

Please sign in to comment.