add test for textures 404 (#14)

This commit is contained in:
jomo 2014-11-23 22:10:51 +01:00
parent 148ea45631
commit 06172a8aaf

View File

@ -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();
});
});
}); });
}); });