mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
no need to defined undefined
This commit is contained in:
parent
23080370b2
commit
5c53694f9d
20
test/test.js
20
test/test.js
@ -309,7 +309,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"avatar with not existing username defaulting to url": {
|
"avatar with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/avatars/0?size=16&default=http://example.com",
|
url: "http://localhost:3000/avatars/0?size=16&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -330,7 +329,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"helm avatar with not existing username defaulting to url": {
|
"helm avatar with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/avatars/0?size=16&helm&default=http://example.com",
|
url: "http://localhost:3000/avatars/0?size=16&helm&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -351,7 +349,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"avatar with not existing uuid defaulting to url": {
|
"avatar with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&default=http://example.com",
|
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -372,7 +369,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"helm avatar with not existing uuid defaulting to url": {
|
"helm avatar with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm&default=http://example.com",
|
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -383,17 +379,14 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"cape with not existing username": {
|
"cape with not existing username": {
|
||||||
url: "http://localhost:3000/capes/0",
|
url: "http://localhost:3000/capes/0",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0
|
crc32: 0
|
||||||
},
|
},
|
||||||
"cape with not existing username defaulting to alex": {
|
"cape with not existing username defaulting to alex": {
|
||||||
url: "http://localhost:3000/capes/0?default=alex",
|
url: "http://localhost:3000/capes/0?default=alex",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0
|
crc32: 0
|
||||||
},
|
},
|
||||||
"cape with not existing username defaulting to url": {
|
"cape with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/capes/0?default=http://example.com",
|
url: "http://localhost:3000/capes/0?default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -404,17 +397,14 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"cape with not existing uuid": {
|
"cape with not existing uuid": {
|
||||||
url: "http://localhost:3000/capes/00000000000000000000000000000000",
|
url: "http://localhost:3000/capes/00000000000000000000000000000000",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0
|
crc32: 0
|
||||||
},
|
},
|
||||||
"cape with not existing uuid defaulting to alex": {
|
"cape with not existing uuid defaulting to alex": {
|
||||||
url: "http://localhost:3000/capes/00000000000000000000000000000000?default=alex",
|
url: "http://localhost:3000/capes/00000000000000000000000000000000?default=alex",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0
|
crc32: 0
|
||||||
},
|
},
|
||||||
"cape with not existing uuid defaulting to url": {
|
"cape with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/capes/00000000000000000000000000000000?default=http://example.com",
|
url: "http://localhost:3000/capes/00000000000000000000000000000000?default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -435,7 +425,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"skin with not existing username defaulting to url": {
|
"skin with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/skins/0?default=http://example.com",
|
url: "http://localhost:3000/skins/0?default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -456,7 +445,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"skin with not existing uuid defaulting to url": {
|
"skin with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/skins/00000000000000000000000000000000?default=http://example.com",
|
url: "http://localhost:3000/skins/00000000000000000000000000000000?default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -477,7 +465,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"head render with not existing username defaulting to url": {
|
"head render with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/renders/head/0?scale=2&default=http://example.com",
|
url: "http://localhost:3000/renders/head/0?scale=2&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -498,7 +485,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"helm head render with not existing username defaulting to url": {
|
"helm head render with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/renders/head/0?scale=2&helm&default=http://example.com",
|
url: "http://localhost:3000/renders/head/0?scale=2&helm&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -519,7 +505,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"head render with not existing uuid defaulting to url": {
|
"head render with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/renders/head/00000000000000000000000000000000?scale=2&default=http://example.com",
|
url: "http://localhost:3000/renders/head/00000000000000000000000000000000?scale=2&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -540,7 +525,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"helm head render with not existing uuid defaulting to url": {
|
"helm head render with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/avatars/00000000000000000000000000000000?scale=2&helm&default=http://example.com",
|
url: "http://localhost:3000/avatars/00000000000000000000000000000000?scale=2&helm&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -561,7 +545,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"body render with not existing username defaulting to url": {
|
"body render with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/renders/body/0?scale=2&default=http://example.com",
|
url: "http://localhost:3000/renders/body/0?scale=2&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -582,7 +565,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"helm body render with not existing username defaulting to url": {
|
"helm body render with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/renders/body/0?scale=2&helm&default=http://example.com",
|
url: "http://localhost:3000/renders/body/0?scale=2&helm&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -603,7 +585,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"body render with not existing uuid defaulting to url": {
|
"body render with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/renders/body/00000000000000000000000000000000?scale=2&default=http://example.com",
|
url: "http://localhost:3000/renders/body/00000000000000000000000000000000?scale=2&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
@ -624,7 +605,6 @@ describe("Crafatar", function() {
|
|||||||
},
|
},
|
||||||
"helm body render with not existing uuid defaulting to url": {
|
"helm body render with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/renders/body/00000000000000000000000000000000?scale=2&helm&default=http://example.com",
|
url: "http://localhost:3000/renders/body/00000000000000000000000000000000?scale=2&helm&default=http://example.com",
|
||||||
etag: undefined,
|
|
||||||
crc32: 0,
|
crc32: 0,
|
||||||
redirect: "http://example.com"
|
redirect: "http://example.com"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user