empty.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. /**
  7. * Copyright (c) Microsoft Corporation.
  8. *
  9. * Licensed under the Apache License, Version 2.0 (the "License");
  10. * you may not use this file except in compliance with the License.
  11. * You may obtain a copy of the License at
  12. *
  13. * http://www.apache.org/licenses/LICENSE-2.0
  14. *
  15. * Unless required by applicable law or agreed to in writing, software
  16. * distributed under the License is distributed on an "AS IS" BASIS,
  17. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. * See the License for the specific language governing permissions and
  19. * limitations under the License.
  20. */
  21. class EmptyReporter {
  22. onConfigure(config) {}
  23. onBegin(suite) {}
  24. onTestBegin(test, result) {}
  25. onStdOut(chunk, test, result) {}
  26. onStdErr(chunk, test, result) {}
  27. onTestEnd(test, result) {}
  28. async onEnd(result) {}
  29. async onExit() {}
  30. onError(error) {}
  31. onStepBegin(test, result, step) {}
  32. onStepEnd(test, result, step) {}
  33. printsToStdio() {
  34. return false;
  35. }
  36. version() {
  37. return 'v2';
  38. }
  39. }
  40. var _default = exports.default = EmptyReporter;