web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.0 KiB

  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. import type { AggregatedResult, AssertionResult, Suite, TestResult } from '@jest/test-result';
  8. import type { Config } from '@jest/types';
  9. import DefaultReporter from './DefaultReporter';
  10. import type { Test } from './types';
  11. export default class VerboseReporter extends DefaultReporter {
  12. protected _globalConfig: Config.GlobalConfig;
  13. constructor(globalConfig: Config.GlobalConfig);
  14. static filterTestResults(testResults: Array<AssertionResult>): Array<AssertionResult>;
  15. static groupTestsBySuites(testResults: Array<AssertionResult>): Suite;
  16. onTestResult(test: Test, result: TestResult, aggregatedResults: AggregatedResult): void;
  17. private _logTestResults;
  18. private _logSuite;
  19. private _getIcon;
  20. private _logTest;
  21. private _logTests;
  22. private _logTodoOrPendingTest;
  23. private _logLine;
  24. }