mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
* MM-67137 Fix references to window in client package * Fix Client tests running on compiled code * Mostly revert changes to limit the chance of accidental changes
19 lines
565 B
JavaScript
19 lines
565 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
/** @type {import('jest').Config} */
|
|
|
|
module.exports = {
|
|
moduleNameMapper: {
|
|
'^@mattermost/types/(.*)$': '<rootDir>/../types/src/$1',
|
|
},
|
|
testPathIgnorePatterns: ['/node_modules/', '/lib/'],
|
|
setupFiles: ['<rootDir>/setup_jest.ts'],
|
|
collectCoverageFrom: [
|
|
'src/**/*.{js,jsx,ts,tsx}',
|
|
],
|
|
coveragePathIgnorePatterns: [
|
|
'/node_modules/',
|
|
],
|
|
coverageReporters: ['json', 'lcov', 'text-summary'],
|
|
};
|