"use strict";

var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
_Object$defineProperty(exports, "__esModule", {
  value: true
});
exports.flaky = flaky;
exports.skipInBrowser = skipInBrowser;
/*!
 * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
 */

function flaky(mochaMethod, envVar) {
  if (!mochaMethod.skip) {
    return mochaMethod;
  }
  var shouldSkip = envVar && envVar !== 'false' && !!envVar;
  return shouldSkip ? mochaMethod.skip : mochaMethod;
}
function skipInBrowser(mochaMethod) {
  return mochaMethod;
}
//# sourceMappingURL=mocha-helpers.js.map
