aboutsummaryrefslogtreecommitdiff
path: root/node_modules/jest-jasmine2/build/jasmine/spyRegistry.d.ts
blob: c5f215c311c8006037ff3777c92abaa628b6384a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */
import type { Spy } from '../types';
export default class SpyRegistry {
    allowRespy: (allow: unknown) => void;
    spyOn: (obj: Record<string, Spy>, methodName: string, accessType?: keyof PropertyDescriptor) => Spy;
    clearSpies: () => void;
    respy: unknown;
    private _spyOnProperty;
    constructor({ currentSpies, }?: {
        currentSpies?: () => Array<Spy>;
    });
}