mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
less spammy tests :)
This commit is contained in:
parent
dd8a3b91e2
commit
bac6a0dadd
@ -3,6 +3,7 @@ var fs = require('fs');
|
|||||||
|
|
||||||
var networking = require('../modules/networking');
|
var networking = require('../modules/networking');
|
||||||
var helpers = require('../modules/helpers');
|
var helpers = require('../modules/helpers');
|
||||||
|
var logging = require('../modules/logging');
|
||||||
var config = require('../modules/config');
|
var config = require('../modules/config');
|
||||||
var skins = require('../modules/skins');
|
var skins = require('../modules/skins');
|
||||||
var cache = require("../modules/cache");
|
var cache = require("../modules/cache");
|
||||||
@ -10,6 +11,9 @@ var cache = require("../modules/cache");
|
|||||||
// we don't want tests to fail because of slow internet
|
// we don't want tests to fail because of slow internet
|
||||||
config.http_timeout = 3000;
|
config.http_timeout = 3000;
|
||||||
|
|
||||||
|
// no spam
|
||||||
|
logging.log = function(){};
|
||||||
|
|
||||||
var uuids = fs.readFileSync('test/uuids.txt').toString().split("\n");
|
var uuids = fs.readFileSync('test/uuids.txt').toString().split("\n");
|
||||||
var usernames = fs.readFileSync('test/usernames.txt').toString().split("\n");
|
var usernames = fs.readFileSync('test/usernames.txt').toString().split("\n");
|
||||||
// Get a random UUID + username in order to prevent rate limiting
|
// Get a random UUID + username in order to prevent rate limiting
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user