sherlock-segment
Version:
Sherlock plugin for Segment integrations
39 lines (33 loc) • 449 B
JavaScript
/**
* Unit tests.
*/
exports.scripts = [
'http://edge.quantserve.com/quant.js'
];
exports.settings = [
{
ctx: {
window: {
__qc: {
qopts: {
qacct: 'p-23423sd'
}
}
}
},
expected: {
pCode: 'p-23423sd'
}
}
];
/**
* Integration tests.
*/
exports.integration = [
{
fixture: 'quantcast/index.html',
expected: {
pCode: 'p-test123'
}
}
];