Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
index.search('jquery-timeout-promise').then(function searchDone(content) {
fauxJax.restore();
t.deepEqual(
content, {
yaw: 'JQUERY! timeout'
},
'Content matches'
);
});
index.search('angular-first').then(function searchDone(content) {
fauxJax.restore();
t.deepEqual(
content, {
message: 'YEAH!'
},
'Content matches'
);
});