@zendesk/react-measure-timing-hooks
Version:
react hooks for measuring time to interactive and time to render of components
11 lines • 507 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.requiredSpanWithErrorStatus = requiredSpanWithErrorStatus;
// tag matcher with a special, internal matcher tag, and match on span.status === 'error'
function requiredSpanWithErrorStatus() {
const matcherFn = ({ span }) => span.status === 'error';
return Object.assign(matcherFn,
// add a tag to the function if set to true
{ requiredSpan: true });
}
//# sourceMappingURL=requiredSpanWithErrorStatus.js.map