(file, rename = '')
| 217 | } |
| 218 | } |
| 219 | filename(file, rename = '') { |
| 220 | if (!this.runfile) { |
| 221 | this.runfile = path.basename(file).replace(".js", '').replace(/-/g, '_') |
| 222 | } |
| 223 | if (rename) { |
| 224 | rename = `_${rename}`; |
| 225 | } |
| 226 | return path.basename(file).replace(".js", rename).replace(/-/g, '_'); |
| 227 | } |
| 228 | rand(n, m) { |
| 229 | var random = Math.floor(Math.random() * (m - n + 1) + n); |
| 230 | return random; |
nothing calls this directly
no outgoing calls
no test coverage detected