fix deprecation warning for sinon.js

This commit is contained in:
Matteo Pagliazzi
2018-10-28 12:44:34 +01:00
parent 56d1b77215
commit bb2ed249b9

View File

@@ -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(() => {