aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-16 19:59:21 +0200
committerChocobozzz <me@florianbigard.com>2018-05-17 10:55:50 +0200
commit74af5a8361f4ccb460001706ce249d50c747f361 (patch)
tree4e077f14a6c604799b15fdbea98a2d8c8bdc7576 /scripts
parent6200d8d91710b03a72a27e35cbe6eed1e6cc8c62 (diff)
downloadPeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.gz
PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.zst
PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.zip
Client E2E tests first step
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/e2e.sh11
-rwxr-xr-xscripts/watch/client.sh2
2 files changed, 12 insertions, 1 deletions
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 @@
1#!/bin/sh
2
3set -eu
4
5#npm run build:server
6npm run clean:server:test
7
8concurrently -k -s first \
9 "cd client && npm run ng -- e2e" \
10 "NODE_ENV=test NODE_APP_INSTANCE=1 npm start"
11
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
4 4
5cd client 5cd client
6 6
7npm run ng -- serve --hmr --host 0.0.0.0 --disable-host-check --port 3000 7npm run ng -- serve --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000