MCPcopy
hub / github.com/TTLabs/EvaporateJS / testV4ToSign

Function testV4ToSign

test/auth.spec.js:165–179  ·  view source on GitHub ↗
(t, addConfig)

Source from the content-addressed store, hash-verified

163 return testCommonAuthorization(t, addCfg, evapConfig);
164}
165function testV4ToSign(t, addConfig) {
166 return testV4Authorization(t, {cryptoHexEncodedHash256: function (d) { return d; }}, addConfig)
167 .then(function () {
168 return new Promise(function (resolve) {
169 var qp = params(testRequests[t.context.testId][2].url)
170
171 var result = {
172 result: qp.to_sign,
173 datetime: qp.datetime
174 }
175
176 resolve(result)
177 })
178 })
179}
180
181function params(url) {
182 var query = url.split("?"),

Callers 1

auth.spec.jsFile · 0.85

Calls 3

testV4AuthorizationFunction · 0.85
paramsFunction · 0.85
resolveFunction · 0.85

Tested by

no test coverage detected