nexo/services/core/webapp/channels/jest.config.channels.js

25 lines
633 B
JavaScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
/** @type {import('jest').Config} */
const baseConfig = require('./jest.config.js');
const config = {
...baseConfig,
displayName: 'channels',
testPathIgnorePatterns: [
'/node_modules/',
'<rootDir>/src/packages/mattermost-redux/',
],
collectCoverageFrom: [
'src/**/*.{js,jsx,ts,tsx}',
'!src/packages/mattermost-redux/**',
],
coveragePathIgnorePatterns: [
'/node_modules/',
'src/packages/mattermost-redux/',
],
};
module.exports = config;