mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-19 02:20:37 +01:00
Better user model behavior and test teardown
This commit is contained in:
@@ -52,7 +52,14 @@ describe('<Unit Test>', function() {
|
||||
});
|
||||
|
||||
afterEach(function(done) {
|
||||
Article.remove({});
|
||||
User.remove({});
|
||||
done();
|
||||
});
|
||||
after(function(done){
|
||||
Article.remove().exec();
|
||||
User.remove().exec();
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user