const config = { verbose: true, testTimeout: 20000, testSequencer: "/tests/utils/test_sequencer.js", projects: [ { displayName: "unit", globalSetup: "/tests/unit/helpers/global-setup.js", moduleNameMapper: { logger: "/js/logger.js" }, testMatch: ["**/tests/unit/**/*.[jt]s?(x)"], testPathIgnorePatterns: ["/tests/unit/mocks", "/tests/unit/helpers"] }, { displayName: "electron", testMatch: ["**/tests/electron/**/*.[jt]s?(x)"], testPathIgnorePatterns: ["/tests/electron/helpers"] }, { displayName: "e2e", testMatch: ["**/tests/e2e/**/*.[jt]s?(x)"], modulePaths: ["/js/"], testPathIgnorePatterns: ["/tests/e2e/helpers", "/tests/e2e/mocks"] } ], collectCoverageFrom: [ "/clientonly/**/*.js", "/js/**/*.js", "/modules/default/**/*.js", "/serveronly/**/*.js" ], coverageReporters: ["lcov", "text"], coverageProvider: "v8" }; module.exports = config;