mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
force the cleaner to run, better coverage
This commit is contained in:
@@ -43,6 +43,10 @@ describe("Crafatar", function() {
|
||||
|
||||
before(function() {
|
||||
cache.get_redis().flushall();
|
||||
// largest possible integers, cause I don't know
|
||||
// how big hard drives are these days
|
||||
config.cleaning_disk_limit = Math.pow(2,32) - 1;;
|
||||
config.cleaning_redis_limit = Math.pow(2,32) - 1;;
|
||||
cleaner.run();
|
||||
});
|
||||
|
||||
@@ -175,6 +179,10 @@ describe("Errors", function() {
|
||||
});
|
||||
});
|
||||
|
||||
describe("Cleaner", function() {
|
||||
|
||||
});
|
||||
|
||||
describe("Server", function() {
|
||||
before(function(done) {
|
||||
server.boot(function() {
|
||||
|
||||
Reference in New Issue
Block a user