Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/scality/cloudserver
/ checkError
Function
checkError
tests/functional/aws-node-sdk/test/object/copyPart.js:40–43 ·
view source on GitHub ↗
(err, code)
Source
from the content-addressed store, hash-verified
38
}
39
40
function
checkError(err, code) {
41
assert.notEqual(err, null,
'Expected failure but got success'
);
42
assert.strictEqual(err.name, code);
43
}
44
45
describe(
'Object Part Copy'
, () => {
46
withV4(sigCfg => {
Callers
1
copyPart.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected