MCPcopy
hub / github.com/scality/cloudserver / corsErrorHeaders.js

File corsErrorHeaders.js

tests/unit/api/corsErrorHeaders.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const assert = require('assert');
2const async = require('async');
3const sinon = require('sinon');
4const { errors, auth } = require('arsenal');

Callers

nothing calls this directly

Calls 11

setupBucketWithCorsFunction · 0.85
buildRequestFunction · 0.85
buildResponseSpyFunction · 0.85
buildLogFunction · 0.85
bucketPutFunction · 0.85
bucketPutCorsFunction · 0.85
bucketGetFunction · 0.85
bucketGetCorsFunction · 0.85
makeAuthInfoFunction · 0.50
cleanupFunction · 0.50

Tested by

no test coverage detected