Skip to content

Commit e6dfc31

Browse files
committed
use getSigHeaders
1 parent f5189bf commit e6dfc31

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

modules/tests-ui/tester.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ function getSigHeaders(url, cb) {
7070
json: true
7171
})
7272
.then(result => {
73-
console.log('-- got sig headers ', result)
74-
cb(null, result);
73+
console.log('-- got sig headers ', result.data)
74+
cb(null, result.data);
7575
})
7676
.catch(cb);;
7777
}
@@ -563,7 +563,8 @@ function processPluginTests(pluginTest, plugin, count, cb) {
563563
readability: true,
564564
disableHttp2: disableHttp2,
565565
getWhitelistRecord: whitelist.findWhitelistRecordFor,
566-
getSigHeaders: getSigHeadersFunction()
566+
getSigHeaders: getSigHeadersFunction(),
567+
sig: !!CONFIG.SIG_API
567568
}, callback);
568569
}, CONFIG.tests.pause_between_tests || 0);
569570
}

0 commit comments

Comments
 (0)