diff --git a/client/index.html b/client/index.html index bfc61872..7a9789a3 100644 --- a/client/index.html +++ b/client/index.html @@ -58,7 +58,7 @@ connectivity issues.
- + diff --git a/client/js/loading-slow-alert.js b/client/js/loading-error-handlers.js similarity index 100% rename from client/js/loading-slow-alert.js rename to client/js/loading-error-handlers.js diff --git a/test/tests/build.js b/test/tests/build.js index dc446ef6..e5b2b1da 100644 --- a/test/tests/build.js +++ b/test/tests/build.js @@ -25,7 +25,7 @@ describe("public folder", function() { expect(fs.existsSync(path.join(publicFolder, "js", "bundle.js.map"))).to.be.true; }); - it("loading-slow-alert.js is copied", function() { - expect(fs.existsSync(path.join(publicFolder, "js", "loading-slow-alert.js"))).to.be.true; + it("loading-error-handlers.js is copied", function() { + expect(fs.existsSync(path.join(publicFolder, "js", "loading-error-handlers.js"))).to.be.true; }); }); diff --git a/webpack.config.js b/webpack.config.js index 45ea8e9b..e30258c9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -67,7 +67,7 @@ const config = { to: "fonts/[name].[ext]", }, { - from: "./client/js/loading-slow-alert.js", + from: "./client/js/loading-error-handlers.js", to: "js/[name].[ext]", }, { // TODO: Build index.html with handlebars