diff --git a/master.spec.js b/master.spec.js index 1b7fff6a..219f5278 100644 --- a/master.spec.js +++ b/master.spec.js @@ -35,6 +35,7 @@ describe('Master server endpoint testing', function() { }); // describe("#GET /api/") parallel("#GET static website data", function() { + this.timeout(6000); it("sends some HTML when accessing /", function(done){ this.timeout(6000); request(app).get("/").end(function(err,res){ @@ -80,7 +81,8 @@ describe('Master server endpoint testing', function() { 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)); + // there should be 1 error regarding complaining about me using ES6 modules before they are fully supported + assert(result.messages.length === 1, "there are HTML errors on the page, please fix: "+JSON.stringify(result.messages)); done(); }); }); diff --git a/sharedPlugins/remoteMap/chunkStore.spec.js b/sharedPlugins/remoteMap/chunkStore.spec.js index 2460dafe..8ea663ba 100644 --- a/sharedPlugins/remoteMap/chunkStore.spec.js +++ b/sharedPlugins/remoteMap/chunkStore.spec.js @@ -12,7 +12,7 @@ describe("remoteMap/chunkStore.js", () => { it("is a constructor", ()=>{ assert.equal(typeof chunkStore, "function"); // create a new store and elevate it - store = new chunkStore("910239"/* instanceID, use defaults for the rest */); + store = new chunkStore("910239"/* instanceID, use defaults for the rest */, undefined, "./database/unitTests/chunkStore/"); assert.equal(store.name, "910239"); }); it("allows you to store the locations of entities", done => {