UNPKG

696 BJavaScriptView Raw
1/*
2 * Copyright (c) 2018, salesforce.com, inc.
3 * All rights reserved.
4 * SPDX-License-Identifier: MIT
5 * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6 */
7const BASE_CONFIG = require('../../../scripts/jest/base.config');
8const PRESET_CONFIG = require('./jest-preset');
9
10module.exports = {
11 ...BASE_CONFIG,
12 ...PRESET_CONFIG,
13
14 displayName: 'lwc-jest-preset',
15
16 // Disable coverage entirely for this package. This package overrides the jest configuration
17 // to test its internals. Because of this the coverage reports the fixtures code and not the
18 // package's logic.
19 coveragePathIgnorePatterns: ['<rootDir>/src'],
20};