Просмотр исходного кода

Change frontend test commands so its easier to run locally in debug mode

Alasdair Smith 8 лет назад
Родитель
Сommit
8bde5120dd
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      services/web/docker-compose.yml
  2. 1 1
      services/web/package.json

+ 1 - 1
services/web/docker-compose.yml

@@ -29,7 +29,7 @@ services:
     volumes:
       - .:/app
     working_dir: /app
-    command: npm run test:frontend
+    command: npm run test:frontend -- --single-run
 
   redis:
     image: redis

+ 1 - 1
services/web/package.json

@@ -15,7 +15,7 @@
     "test:acceptance:dir": "npm -q run test:acceptance:wait_for_app && npm -q run test:acceptance:run -- $@",
     "test:acceptance": "npm -q run test:acceptance:dir -- $@ test/acceptance/js",
     "test:unit": "npm -q run compile && bin/unit_test $@",
-    "test:frontend": "karma start --single-run",
+    "test:frontend": "karma start",
     "compile": "make compile",
     "start": "npm -q run compile && node $NODE_APP_OPTIONS app.js",
     "nodemon": "nodemon --config nodemon.json",