(expected)
| 14 | const base = expected.base !== null ? expected.base : undefined; |
| 15 | |
| 16 | function getKey(expected) { |
| 17 | if (expected.protocol) { |
| 18 | return expected.protocol.replace(":", ""); |
| 19 | } |
| 20 | if (expected.failure) { |
| 21 | return expected.input.split(":")[0]; |
| 22 | } |
| 23 | return "other"; |
| 24 | } |
| 25 | |
| 26 | subsetTestByKey(getKey(expected), test, function() { |
| 27 | if (expected.failure) { |
no test coverage detected