From 74af5a8361f4ccb460001706ce249d50c747f361 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 16 May 2018 19:59:21 +0200 Subject: Client E2E tests first step --- scripts/e2e.sh | 11 +++++++++++ scripts/watch/client.sh | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 scripts/e2e.sh (limited to 'scripts') diff --git a/scripts/e2e.sh b/scripts/e2e.sh new file mode 100755 index 000000000..b1e9245c1 --- /dev/null +++ b/scripts/e2e.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +set -eu + +#npm run build:server +npm run clean:server:test + +concurrently -k -s first \ + "cd client && npm run ng -- e2e" \ + "NODE_ENV=test NODE_APP_INSTANCE=1 npm start" + diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index 7dcce5861..f3799d2e9 100755 --- a/scripts/watch/client.sh +++ b/scripts/watch/client.sh @@ -4,4 +4,4 @@ set -eu cd client -npm run ng -- serve --hmr --host 0.0.0.0 --disable-host-check --port 3000 +npm run ng -- serve --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000 -- cgit v1.2.3