blob: 866a41efbe8e2feedf82584a65e892ae1a4a0c13 [file] [log] [blame]
Philip Pfaffe46fe3432024-04-19 10:17:041// Copyright 2024 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5import * as path from 'path';
6
7import {loadTests, TestConfig} from '../conductor/test_config.js';
8
9const spec = loadTests(__dirname);
10spec.unshift(path.join(__dirname, 'setup', 'test_setup.js'));
11
12module.exports = {
13 spec,
14 require : [path.join(path.dirname(__dirname), 'conductor', 'mocha_hooks.js'), 'source-map-support/register'],
15 timeout : TestConfig.debug ? 0 : 10_000,
16 retries : 1,
17 reporter : path.join(path.dirname(__dirname), 'shared', 'mocha-resultsdb-reporter'),
18 suiteName : 'perf',
19 slow : 1000, ...TestConfig.mochaGrep,
20};