Add extra test
This commit is contained in:
parent
3312cdf975
commit
f99b93d333
1 changed files with 20 additions and 0 deletions
|
@ -55,6 +55,26 @@ describe("Bing Search", function () {
|
|||
});
|
||||
});
|
||||
|
||||
it('finds ukrainian results', function(done){
|
||||
Bing.search('"Sony Xperia Z3" огляди тест',
|
||||
{
|
||||
top: 5,
|
||||
skip: 0,
|
||||
market: 'uk-UA'
|
||||
},
|
||||
function (err, res, body) {
|
||||
|
||||
should.not.exist(err);
|
||||
should.exist(res);
|
||||
should.exist(body);
|
||||
|
||||
body.d.results.should.have.length(5);
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
})
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue