MCPcopy Create free account
hub / github.com/backstrokeapp/server / generateSha

Function generateSha

src/test-helpers/create-mock-github-instance.js:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13export function generateSha() {
14 let sha = '';
15 for (let i = 0; i <= 40; i++) {
16 sha += String.fromCharCode(Math.floor(Math.random() * 25) + 97);
17 }
18 return sha;
19}
20
21
22export function generateOwner(owner, type="User") {

Callers 2

pullRequestsCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected