UNPKG

@tapjs/node-serialize

Version:

Stream TAP test data as a serialized node:test stream

9 lines 319 B
import { locFromCallSite } from './loc-from-callsite.js'; export const testPointMessageData = (res, t) => ({ name: res.name, nesting: t.nestingLevel + 1, ...(res.diag?.at ? locFromCallSite(res.diag.at) : locFromCallSite(t.options.at)), }); //# sourceMappingURL=test-point-message-data.js.map