Sha256: 3067bd200fc8aab4c8dabd5237942c0bdb6406c763b7406ad684fb6c6ea98bd2

Contents?: true

Size: 638 Bytes

Versions: 6

Compression:

Stored size: 638 Bytes

Contents

'use strict';

Object.defineProperty(exports, '__esModule', {
  value: true
});
exports.default = isValidPath;

function _jestSnapshot() {
  const data = require('jest-snapshot');

  _jestSnapshot = function () {
    return data;
  };

  return data;
}

/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
function isValidPath(globalConfig, filePath) {
  return (
    !filePath.includes(globalConfig.coverageDirectory) &&
    !(0, _jestSnapshot().isSnapshotPath)(filePath)
  );
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-0.27.1 packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js
decidim-0.26.4 packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js
decidim-0.27.0 packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js
decidim-0.26.3 packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js
decidim-0.27.0.rc2 packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js
decidim-0.27.0.rc1 packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js