mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +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 helpers = require('../modules/helpers');
|
||||
var logging = require('../modules/logging');
|
||||
var config = require('../modules/config');
|
||||
var skins = require('../modules/skins');
|
||||
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
|
||||
config.http_timeout = 3000;
|
||||
|
||||
// no spam
|
||||
logging.log = function(){};
|
||||
|
||||
var uuids = fs.readFileSync('test/uuids.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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user