mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Client E2E tests first step
This commit is contained in:
11
scripts/e2e.sh
Executable file
11
scripts/e2e.sh
Executable file
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user