deno.land / x / oauth4webapi@v1.2.2 / tap / .browsers.sh

.browsers.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash./node_modules/.bin/esbuild --format=esm --bundle --target=esnext tap/run-browser.ts > tap/run-browser.js
HOSTNAME="localhost"SSL=""
if [[ -z $CI ]]; then BROWSER="chrome:headless"else if [[ "$BROWSER" == "browserstack"* ]]; then if [[ "$BROWSER" != "browserstack:android"* ]]; then HOSTNAME="oauth4webapi.panva.me" SSL="key=./letsencrypt/config/live/oauth4webapi.panva.me/privkey.pem;cert=./letsencrypt/config/live/oauth4webapi.panva.me/cert.pem;rejectUnauthorized=true;" fi BROWSER=$(node ./tap/browserstack.mjs $BROWSER) fifi
./node_modules/.bin/testcafe "$BROWSER" --skip-js-errors --ssl "$SSL" --hostname "$HOSTNAME" tap/.browser.ts
oauth4webapi

Version Info

Tagged at
2 years ago