mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
add tests for default avatar
This commit is contained in:
parent
05d7547a07
commit
ebd8e18b29
@ -116,6 +116,14 @@ describe('UUID/username', function() {
|
|||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
it("should default to Alex", function(done) {
|
||||||
|
assert.strictEqual(skins.default_skin("ec561538f3fd461daff5086b22154bce"), "alex");
|
||||||
|
done();
|
||||||
|
});
|
||||||
|
it("should default to Steve", function(done) {
|
||||||
|
assert.strictEqual(skins.default_skin("b8ffc3d37dbf48278f69475f6690aabd"), "steve");
|
||||||
|
done();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('Mojang Errors', function() {
|
describe('Mojang Errors', function() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user