Fix tests and readme, max 15 for news query
This commit is contained in:
parent
1daea459c3
commit
c72b9b03e4
2 changed files with 4 additions and 4 deletions
|
@ -115,7 +115,6 @@ describe("Bing News", function () {
|
|||
|
||||
Bing.news('ps4',
|
||||
{
|
||||
top: 10,
|
||||
skip: 1,
|
||||
newsortby: 'Date'
|
||||
},
|
||||
|
@ -127,7 +126,7 @@ describe("Bing News", function () {
|
|||
should.exist(res);
|
||||
should.exist(body);
|
||||
|
||||
body.d.results.should.have.length(10);
|
||||
body.d.results.should.have.length(15);
|
||||
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue