From bb2ed249b98c88a56864eb45c72fde90c8cbe28f Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Sun, 28 Oct 2018 12:44:34 +0100 Subject: [PATCH] fix deprecation warning for sinon.js --- test/client/unit/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/client/unit/index.js b/test/client/unit/index.js index 3c6194d1bd6..f56cc96744c 100644 --- a/test/client/unit/index.js +++ b/test/client/unit/index.js @@ -4,7 +4,7 @@ require('babel-polyfill'); // Automatically setup SinonJS' sandbox for each test beforeEach(() => { - global.sandbox = sinon.sandbox.create(); + global.sandbox = sinon.createSandbox(); }); afterEach(() => {