Skip to content

Commit

Permalink
tescht fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Bühler committed Oct 27, 2016
1 parent 4ff8a39 commit b7e7bef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RestExtractor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ describe('RestExtractor', () => {
});

it('should set request timeout', done => {
extractor = new RestExtractor('url', RestExtractorMethod.Get, undefined, 42);
extractor = new RestExtractor('url', RestExtractorMethod.Get, undefined, {
timeout: 42
});
(extractor as any).rest = new SelectorMock();

sinon.spy((extractor as any).rest, 'request');
Expand Down

0 comments on commit b7e7bef

Please sign in to comment.