From 06172a8aaf8ce32e194d27dd53d54f7b2881e7cb Mon Sep 17 00:00:00 2001 From: jomo Date: Sun, 23 Nov 2014 22:10:51 +0100 Subject: [PATCH] add test for textures 404 (#14) --- test/test.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test.js b/test/test.js index 23dcfc8..e25ea07 100644 --- a/test/test.js +++ b/test/test.js @@ -171,5 +171,11 @@ describe('Crafatar', function() { 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(); + }); + }); }); });