From fa8ab4c58eed249e58116f3afc84b5841b79a4c3 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 25 Apr 2020 11:41:04 +0300 Subject: tests: fix deprecation warning coming from `sinon.sandbox.create()` Switch to the default sandbox. --- test/handleInput.js | 2 +- test/sendToCoveralls.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/handleInput.js b/test/handleInput.js index 6d4fc1e..085bab7 100644 --- a/test/handleInput.js +++ b/test/handleInput.js @@ -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('..'); diff --git a/test/sendToCoveralls.js b/test/sendToCoveralls.js index f114516..26099db 100644 --- a/test/sendToCoveralls.js +++ b/test/sendToCoveralls.js @@ -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('..'); -- cgit v1.2.3