()
| 11 | } |
| 12 | |
| 13 | export 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 | |
| 22 | export function generateOwner(owner, type="User") { |
no outgoing calls
no test coverage detected