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