MCPcopy
hub / github.com/codeceptjs/CodeceptJS / genTestId

Function genTestId

lib/utils.js:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21export const genTestId = test => {
22 return clearString(crypto.createHash('sha256').update(test.fullTitle()).digest('base64').slice(0, -2))
23}
24
25export { deepMerge }
26

Callers 1

enhanceMochaTestFunction · 0.90

Calls 1

clearStringFunction · 0.70

Tested by

no test coverage detected