MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / stringifyMeta

Function stringifyMeta

lib/plugin/junitReporter.js:194–202  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

192}
193
194function stringifyMeta(value) {
195 if (typeof value === 'string') return value
196 if (typeof value === 'number' || typeof value === 'boolean') return String(value)
197 try {
198 return JSON.stringify(value)
199 } catch (err) {
200 return String(value)
201 }
202}
203
204function flattenSteps(steps) {
205 const out = []

Callers 1

metaPropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected