mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
Merge branch 'master' of github.com:Jake0oo0/crafatar
This commit is contained in:
commit
a6efbbc3af
@ -6,7 +6,7 @@
|
|||||||
"description": "A NodeJS application to server Minecraft avatars.",
|
"description": "A NodeJS application to server Minecraft avatars.",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
{
|
{
|
||||||
"name": "Jomo"
|
"name": "jomo"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@ -9,7 +9,7 @@ var skins = require('../modules/skins');
|
|||||||
var cache = require("../modules/cache");
|
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 *= 3;
|
||||||
|
|
||||||
// no spam
|
// no spam
|
||||||
logging.log = function(){};
|
logging.log = function(){};
|
||||||
@ -18,7 +18,9 @@ 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
|
||||||
var uuid = uuids[Math.round(Math.random() * (uuids.length - 1))];
|
var uuid = uuids[Math.round(Math.random() * (uuids.length - 1))];
|
||||||
|
console.log("using uuid '" + uuid + "'");
|
||||||
var username = usernames[Math.round(Math.random() * (usernames.length - 1))];
|
var username = usernames[Math.round(Math.random() * (usernames.length - 1))];
|
||||||
|
console.log("using username '" + username + "'");
|
||||||
|
|
||||||
describe('Crafatar', function() {
|
describe('Crafatar', function() {
|
||||||
before(function() {
|
before(function() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user