added clean test cases for bing and duckduckgo

This commit is contained in:
Nikolai Tschacher
2019-01-31 15:36:27 +01:00
parent 7441c57a43
commit d35a602994
5 changed files with 358 additions and 13 deletions

View File

@ -18,8 +18,9 @@ class BingScraper extends Scraper {
})
});
// 'Including results for', 'Einschließlich Ergebnisse'
let no_results = this.no_results(
['There are no results', 'Es gibt keine Ergebnisse', 'Including results for', 'Einschließlich Ergebnisse'],
['There are no results', 'Es gibt keine Ergebnisse'],
$('#b_results').text()
);