Skip to content

Commit

Permalink
tests: fix deprecation warning coming from sinon.sandbox.create()
Browse files Browse the repository at this point in the history
Switch to the default sandbox.
  • Loading branch information
XhmikosR authored and nickmerwin committed May 1, 2020
1 parent 41df01b commit fa8ab4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/handleInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const fs = require('fs');
const sysPath = require('path');
const should = require('should');
const sinon = require('sinon').sandbox.create();
const sinon = require('sinon');
const logDriver = require('log-driver');
const index = require('..');

Expand Down
2 changes: 1 addition & 1 deletion test/sendToCoveralls.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const should = require('should');
const request = require('request');
const sinon = require('sinon').sandbox.create();
const sinon = require('sinon');
const logDriver = require('log-driver');
const index = require('..');

Expand Down

0 comments on commit fa8ab4c

Please # to comment.