blob: 69b6593c2e57fdc99ba2e1c524c028d052eda676 [file]
// Copyright 2026 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import sinon from 'sinon';
export const mochaHooks = {
async afterEach(): Promise<void> {
await sinon.clock?.runAllAsync();
sinon.restore();
},
};