Skip to content

Commit

Permalink
test: do not throw if using deprecated Octokit default export without…
Browse files Browse the repository at this point in the history
… options
  • Loading branch information
gr2m committed Feb 3, 2020
1 parent 3e47a92 commit 865433a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/deprecations-test.js
Expand Up @@ -22,6 +22,7 @@ describe("deprecations", () => {
});

expect(warnCalledCount).to.equal(1);
expect(() => new DeprecatedOctokit()).to.not.throw();
});
it("octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)", () => {
let warnCalledCount = 0;
Expand Down

0 comments on commit 865433a

Please sign in to comment.