mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
add test for textures 404 (#14)
This commit is contained in:
@@ -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();
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user