mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Fix sinon assertions
This commit is contained in:
parent
bc24fa8130
commit
fbd4490dbc
1 changed files with 2 additions and 7 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue