aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-04-25 11:41:04 +0300
committerNick Merwin <[email protected]>2020-05-01 16:30:09 -0700
commitfa8ab4c58eed249e58116f3afc84b5841b79a4c3 (patch)
treec0176f32315a64bd4da697398e5300d944a3b3ea /test
parent41df01b70331d1130dcfee628c3de16d2c640111 (diff)
downloadnode-coveralls-fa8ab4c58eed249e58116f3afc84b5841b79a4c3.tar.xz
node-coveralls-fa8ab4c58eed249e58116f3afc84b5841b79a4c3.zip
tests: fix deprecation warning coming from `sinon.sandbox.create()`
Switch to the default sandbox.
Diffstat (limited to 'test')
-rw-r--r--test/handleInput.js2
-rw-r--r--test/sendToCoveralls.js2
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('..');