chore(e2e): formatting with prettier (#4385)

* prettier in e2e

* format

* typescript as dev dependency

* ci all, check linting

* resolve liniting issues

* fix wait-on

* fix package-lock.json

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
This commit is contained in:
Max Peintner
2022-09-19 19:49:46 +02:00
committed by GitHub
parent 8505eb4cc9
commit fc4f4096e0
22 changed files with 522 additions and 526 deletions

View File

@@ -22,7 +22,7 @@ services:
image: 'cockroachdb/cockroach:v22.1.0'
command: 'start-single-node --insecure --http-addr :9090'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9090/health?ready=1"]
test: ['CMD', 'curl', '-f', 'http://localhost:9090/health?ready=1']
interval: '10s'
timeout: '30s'
retries: 5
@@ -36,10 +36,11 @@ services:
prepare:
image: node:18-alpine3.15
working_dir: /e2e
user: "$UID"
user: '$UID'
volumes:
- .:/e2e
command: "npm ci --omit=dev && npx run wait-on http://localhost:8080"
- .:/e2e
command: 'sh -c "npm ci --omit=dev && npm run lint && npx wait-on http://localhost:8080/debug/ready"'
network_mode: host
e2e:
image: cypress/included:10.3.0
@@ -51,9 +52,9 @@ services:
prepare:
condition: 'service_completed_successfully'
working_dir: /e2e
user: "$UID"
user: '$UID'
volumes:
- .:/e2e
- .:/e2e
network_mode: host
networks: