Fix front end tests

This commit is contained in:
James Allen 2017-12-14 10:18:17 +00:00
parent b4a5e5a041
commit 810b5e0e9a
2 changed files with 3 additions and 6 deletions

View file

@ -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

View file

@ -27,7 +27,7 @@ describe "HistoryV2Manager", ->
atEnd: false
selection: {
updates: []
doc: null
pathname: null
range: {
fromV: null
toV: null