From 810b5e0e9a9629ba347e1ea88b0ec6a41d06edea Mon Sep 17 00:00:00 2001 From: James Allen Date: Thu, 14 Dec 2017 10:18:17 +0000 Subject: [PATCH] Fix front end tests --- services/web/docker-shared.template.yml | 7 ++----- .../test/unit_frontend/coffee/HistoryManagerV2Tests.coffee | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/services/web/docker-shared.template.yml b/services/web/docker-shared.template.yml index 5f45c48c82..8acc63ef81 100644 --- a/services/web/docker-shared.template.yml +++ b/services/web/docker-shared.template.yml @@ -13,11 +13,8 @@ services: - ./npm-shrinkwrap.json:/app/npm-shrinkwrap.json - node_modules:/app/node_modules - ./bin:/app/bin - # Copying the whole public dir is fine for now, and needed for - # some unit tests to pass, but we will want to isolate the coffee - # and vendor js files, so that the compiled js files are not written - # back to the local filesystem. - - ./public:/app/public + - ./public/coffee:/app/public/coffee:ro + - ./public/js/ace-1.2.5:/app/public/js/ace-1.2.5 - ./app.coffee:/app/app.coffee:ro - ./app/coffee:/app/app/coffee:ro - ./app/templates:/app/app/templates:ro diff --git a/services/web/test/unit_frontend/coffee/HistoryManagerV2Tests.coffee b/services/web/test/unit_frontend/coffee/HistoryManagerV2Tests.coffee index 19b5156b1b..9ad7ba9a2e 100644 --- a/services/web/test/unit_frontend/coffee/HistoryManagerV2Tests.coffee +++ b/services/web/test/unit_frontend/coffee/HistoryManagerV2Tests.coffee @@ -27,7 +27,7 @@ describe "HistoryV2Manager", -> atEnd: false selection: { updates: [] - doc: null + pathname: null range: { fromV: null toV: null