tpb-api
Version:
A Node.js torrents API wrapper for ThePirateBay
18 lines (14 loc) • 443 B
JavaScript
/**
* Created by bondwong on 3/30/17.
*/
;
import RBGT from '../src/tpb-api.js';
var rbgt = new RBGT({debug: true});
describe("The search method", function() {
it("throws error with invalid parameter", function() {
var validParameter = function() {
rbgt.search({name: 'The Walking Dead S07E15'}).then(result => console.log(result));
};
expect(validParameter).not.toThrow();
});
});