mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
add test for textures 404 (#14)
This commit is contained in:
parent
148ea45631
commit
06172a8aaf
@ -171,5 +171,11 @@ describe('Crafatar', function() {
|
|||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
it("should not find the skin", function(done) {
|
||||||
|
networking.skin_file("http://textures.minecraft.net/texture/this-does-not-exist", "face.png", "helm.png", function(err) {
|
||||||
|
assert.strictEqual(err, null); // no error here, but it shouldn't throw exceptions
|
||||||
|
done();
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user