Philip Pfaffe | 46fe343 | 2024-04-19 10:17:04 | [diff] [blame] | 1 | // 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 | |
| 5 | import * as path from 'path'; |
| 6 | |
| 7 | import {loadTests, TestConfig} from '../conductor/test_config.js'; |
| 8 | |
| 9 | const spec = loadTests(__dirname); |
| 10 | spec.unshift(path.join(__dirname, 'setup', 'test_setup.js')); |
| 11 | |
| 12 | module.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 | }; |