(objectKey)
| 228 | } |
| 229 | |
| 230 | function _getZenkoObjectKey(objectKey) { |
| 231 | if (objectKey.startsWith(bucketName)) { |
| 232 | // if it's a bucketNotMatch objectKey, remove the bucketName + '/' |
| 233 | return objectKey.substring(bucketName.length + 1); |
| 234 | } |
| 235 | return objectKey; |
| 236 | } |
| 237 | |
| 238 | function assertObjOnBackend(expectedBackend, objectKey, cb) { |
| 239 | const zenkoObjectKey = _getZenkoObjectKey(objectKey); |
no outgoing calls
no test coverage detected