jasmineLight.d.ts 1019 B

123456789101112131415161718192021222324252627
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. */
  8. import type { Jasmine, SpecDefinitionsFn } from '../types';
  9. import JsApiReporter from './JsApiReporter';
  10. export declare const create: (createOptions: Record<string, any>) => Jasmine;
  11. export declare const _interface: (jasmine: Jasmine, env: any) => {
  12. describe(description: string, specDefinitions: SpecDefinitionsFn): any;
  13. xdescribe(description: string, specDefinitions: SpecDefinitionsFn): any;
  14. fdescribe(description: string, specDefinitions: SpecDefinitionsFn): any;
  15. it(): any;
  16. xit(): any;
  17. fit(): any;
  18. beforeEach(): any;
  19. afterEach(): any;
  20. beforeAll(): any;
  21. afterAll(): any;
  22. pending(): any;
  23. fail(): any;
  24. spyOn(obj: Record<string, any>, methodName: string, accessType?: string | undefined): any;
  25. jsApiReporter: JsApiReporter;
  26. jasmine: Jasmine;
  27. };