"use strict";
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const node_path_1 = __importDefault(require("node:path"));
const paths_js_1 = require("../../test/conductor/paths.js");
const test_config_js_1 = require("../conductor/test_config.js");
module.exports = {
    allowUncaught: false,
    require: [
        'source-map-support/register',
        node_path_1.default.join(paths_js_1.GEN_DIR, 'test', 'unit', 'mocha-hooks.js'),
    ],
    spec: [
        ...(0, test_config_js_1.loadTests)(node_path_1.default.join(paths_js_1.GEN_DIR, 'front_end'), 'foundation_tests.txt'),
        ...(0, test_config_js_1.loadTests)(node_path_1.default.join(paths_js_1.GEN_DIR, 'mcp'), 'foundation_tests.txt'),
    ],
    timeout: test_config_js_1.TestConfig.debug ? 0 : 10_000,
    reporter: node_path_1.default.join(node_path_1.default.dirname(__dirname), 'shared', 'mocha-resultsdb-reporter'),
    retries: test_config_js_1.TestConfig.retries,
    suiteName: 'unit',
    slow: 1000, ...test_config_js_1.TestConfig.mochaGrep,
};
//# sourceMappingURL=mocharc.js.map