mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
force the cleaner to run, better coverage
This commit is contained in:
parent
c062348f40
commit
5a4306db6a
@ -43,6 +43,10 @@ describe("Crafatar", function() {
|
|||||||
|
|
||||||
before(function() {
|
before(function() {
|
||||||
cache.get_redis().flushall();
|
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();
|
cleaner.run();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -175,6 +179,10 @@ describe("Errors", function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe("Cleaner", function() {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
describe("Server", function() {
|
describe("Server", function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
server.boot(function() {
|
server.boot(function() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user