blob: d833903a1146dc4f47b7b4b626f254b24d3c280c [file] [edit]
// 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.
import type * as Mocha from 'mocha';
import {clearResults, collectMeasurements, writeReport} from '../report/report.js';
export async function mochaGlobalTeardown(this: Mocha.Suite): Promise<void> {
collectMeasurements();
writeReport();
}
export async function mochaGlobalSetup(this: Mocha.Suite): Promise<void> {
clearResults();
}