Revision a5a0e77e916382a3a06ce9ce05499a4acb2f0c30 authored by dependabot[bot] on 23 January 2024, 11:18:26 UTC, committed by GitHub on 23 January 2024, 11:18:26 UTC
1 parent 79aaa84
Raw File
jest.config.cjs
// Copyright (C) 2019-2022 Intel Corporation
// Copyright (C) 2023 CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT

const { defaults } = require('jest-config');

module.exports = {
    testEnvironment: 'jsdom',
    coverageDirectory: 'reports/coverage',
    coverageReporters: ['json', ['lcov', { projectRoot: '../' }]],
    moduleFileExtensions: [...defaults.moduleFileExtensions, 'ts', 'tsx'],
    reporters: ['default', ['jest-junit', { outputDirectory: 'reports/junit' }]],
    testMatch: ['**/tests/**/*.cjs'],
    testPathIgnorePatterns: ['/node_modules/', '/tests/mocks/*'],
    automock: false,
};
back to top