mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Fix sinon assertions
This commit is contained in:
@@ -74,13 +74,8 @@ describe('groupServices', function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
sinon.spy(user, 'sync');
|
sandbox.spy(user, 'sync');
|
||||||
sinon.stub(console, 'log', function(arg) { return true; });
|
sandbox.stub(console, 'log');
|
||||||
});
|
|
||||||
|
|
||||||
afterEach(function() {
|
|
||||||
user.sync.restore();
|
|
||||||
console.log.restore();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('questAccept', function() {
|
describe('questAccept', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user