Sha256: ae7155e4241c2925ca4fd49edbbc8b4f9e46e1caab0bd8d5174dba28f74e4c50

Contents?: true

Size: 265 Bytes

Versions: 3

Compression:

Stored size: 265 Bytes

Contents

module.exports = function() {
  this.World = function(callback) {
    var world = {};

    world.isDryRun = function() {
      return process.argv.indexOf('--dry-run') !== -1 || process.env.PARALLEL_CUCUMBER_DRY_RUN === 'true';
    };

    callback(world);
  };
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sensu-plugins-cucumber-1.0.0 bin/cucumber-example/features/support/world.js
sensu-plugins-cucumber-0.0.1 bin/cucumber-example/features/support/world.js
sensu-plugins-cucumber-0.0.1.alpha.1 bin/cucumber-example/features/support/world.js