mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
Test valid inputs for all paths
This commit is contained in:
@@ -246,6 +246,13 @@ describe("Server", function() {
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it("should return a 200 (valid input)", function(done) {
|
||||
request.get("http://localhost:3000/" + location + "/Jake0oo0", function(error, res, body) {
|
||||
assert.equal(200, res.statusCode);
|
||||
done();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// testing all paths for default images
|
||||
|
||||
Reference in New Issue
Block a user