| 1 | /*! |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 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 | 'use strict'; |
| 9 | |
| 10 | class EquivalenceReporter { |
| 11 | onTestCaseResult(test, testCaseResult) { |
| 12 | console.log( |
| 13 | `EQUIVALENCE: ${testCaseResult.title}, ` + |
| 14 | `status: ${testCaseResult.status}, ` + |
| 15 | `numExpectations: ${testCaseResult.numPassingAsserts}` |
| 16 | ); |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | module.exports = EquivalenceReporter; |