(label, ext = "bin")
| 118 | // want them to (the conflictAction "overwrite" test reuses a fixed name). |
| 119 | const RUN_TAG = Date.now().toString(36) + "-" + Math.floor(Math.random() * 36 ** 4).toString(36).padStart(4, "0"); |
| 120 | function nameFor(label, ext = "bin") { |
| 121 | return getPrefix() + RUN_TAG + "-" + label.replace(/[^a-zA-Z0-9_-]+/g, "_") + "." + ext; |
| 122 | } |
| 123 | |
| 124 | // ---------- A small dataset built once, reused everywhere ---------- |
| 125 | // 1x1 transparent PNG (67 bytes). |
no test coverage detected