| | |
| | | Object.defineProperty(exports, '__esModule', { |
| | | value: true |
| | | }); |
| | | exports.default = void 0; |
| | | exports.default = getResultHeader; |
| | | |
| | | function _chalk() { |
| | | const data = _interopRequireDefault(require('chalk')); |
| | |
| | | ? _chalk().default.reset.inverse.bold.green(` ${PASS_TEXT} `) |
| | | : PASS_TEXT; |
| | | |
| | | var _default = (result, globalConfig, projectConfig) => { |
| | | function getResultHeader(result, globalConfig, projectConfig) { |
| | | var _result$perfStats; |
| | | |
| | | const testPath = result.testFilePath; |
| | |
| | | `${status} ${projectDisplayName}${fileLink}` + |
| | | (testDetail.length ? ` (${testDetail.join(', ')})` : '') |
| | | ); |
| | | }; |
| | | |
| | | exports.default = _default; |
| | | } |