Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
chore: enable --throw-deprecation on mocha config (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Oct 10, 2018
1 parent b118061 commit 49eab3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/helpers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Vision helper methods', () => {
projectId: 'bogus',
});

const sandbox = sinon.sandbox.create();
const sandbox = sinon.createSandbox();

afterEach(() => {
sandbox.restore();
Expand Down Expand Up @@ -480,7 +480,7 @@ describe('Vision helper methods', () => {
});

it('creates and promisify methods that are available in certain versions', () => {
const client = new vision.v1p3beta1.ImageAnnotatorClient();
const client = new vision.v1p3beta1.ImageAnnotatorClient(CREDENTIALS);
const request = {
image: {
source: {
Expand Down
1 change: 1 addition & 0 deletions test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
--require intelli-espower-loader
--timeout 10000
--throw-deprecation

0 comments on commit 49eab3b

Please sign in to comment.