#61 added webpage to master, some more plugin work

This commit is contained in:
Danielv123 committed 2017-11-29 09:02:11 +01:00
1 parent 227ac87018
commit ffe2df55c4
4 files changed
+24 -2

No files matched your search

+10
View File
@@ -75,6 +75,16 @@ describe('Master server endpoint testing', function() {
});
});
});
it("sends some HTML when accessing /remoteMap",function(done){
this.timeout(6000);
request(app).get("/remoteMap").end(function(err,res){
assert.equal(res.statusCode, 200);
validateHTML(res.text).then(result => {
assert(result.messages.length === 0, "there are HTML errors on the page, please fix: "+JSON.stringify(result.messages));
done();
});
});
});
});
let persistentMaster = request(app);
describe("#POST /api/place", function(){