mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-18 11:48:52 +00:00
fix deprecation warning for sinon.js
This commit is contained in:
parent
56d1b77215
commit
bb2ed249b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue