From f99b93d33369e2900739d134b4073f458697970a Mon Sep 17 00:00:00 2001 From: goferito Date: Tue, 2 Jun 2015 18:24:36 +0200 Subject: [PATCH] Add extra test --- test/integration.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test/integration.js b/test/integration.js index a88f4bb..4f693e4 100644 --- a/test/integration.js +++ b/test/integration.js @@ -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(); + }); + + }) + });