mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-29 10:39:19 +01:00
Testing Fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Karma configuration
|
||||
// Generated on Sat Oct 05 2013 22:00:14 GMT+0700 (ICT)
|
||||
|
||||
module.exports = function (config) {
|
||||
module.exports = function(config) {
|
||||
config.set({
|
||||
|
||||
// base path, that will be used to resolve files and exclude
|
||||
@@ -56,8 +56,8 @@ module.exports = function (config) {
|
||||
},
|
||||
|
||||
coverageReporter: {
|
||||
type : 'html',
|
||||
dir : 'test/coverage/'
|
||||
type: 'html',
|
||||
dir: 'test/coverage/'
|
||||
},
|
||||
|
||||
// web server port
|
||||
@@ -96,4 +96,4 @@ module.exports = function (config) {
|
||||
// if true, it capture browsers, run tests and exit
|
||||
singleRun: false
|
||||
});
|
||||
};
|
||||
};
|
||||
@@ -56,10 +56,10 @@ describe('<Unit Test>', function() {
|
||||
User.remove({});
|
||||
done();
|
||||
});
|
||||
after(function(done){
|
||||
after(function(done) {
|
||||
Article.remove().exec();
|
||||
User.remove().exec();
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user