mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
Test both types of skins
This commit is contained in:
parent
0bd2371fca
commit
a370cf3160
14
test/test.js
14
test/test.js
@ -206,14 +206,24 @@ describe("Crafatar", function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe("Networking: Render", function() {
|
describe("Networking: Render", function() {
|
||||||
it("should not fail (uuid)", function(done) {
|
it("should not fail (username, 64x64 skin)", function(done) {
|
||||||
helpers.get_render(id, 6, true, true, function(err, hash, img) {
|
helpers.get_render("Jake0oo0", 6, true, true, function(err, hash, img) {
|
||||||
assert.strictEqual(err, null);
|
assert.strictEqual(err, null);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe("Networking: Render", function() {
|
||||||
|
it("should not fail (username, 32x64 skin)", function(done) {
|
||||||
|
helpers.get_render("md_5", 6, true, true, function(err, hash, img) {
|
||||||
|
assert.strictEqual(err, null);
|
||||||
|
done();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
describe("Errors", function() {
|
describe("Errors", function() {
|
||||||
before(function() {
|
before(function() {
|
||||||
cache.get_redis().flushall();
|
cache.get_redis().flushall();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user