You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
now the output isn't overwhelming anymore, output what's happening at every step
This commit is contained in:
@ -1,7 +1,9 @@
|
|||||||
|
PORT=8080
|
||||||
|
echo "running riot on http://localhost:$PORT..."
|
||||||
BASE_DIR=$(realpath $(dirname $0))
|
BASE_DIR=$(realpath $(dirname $0))
|
||||||
pushd $BASE_DIR > /dev/null
|
pushd $BASE_DIR > /dev/null
|
||||||
pushd riot-web/webapp/ > /dev/null
|
pushd riot-web/webapp/ > /dev/null
|
||||||
python -m SimpleHTTPServer 8080 > /dev/null 2>&1 &
|
python -m SimpleHTTPServer $PORT > /dev/null 2>&1 &
|
||||||
PID=$!
|
PID=$!
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
echo $PID > riot.pid
|
echo $PID > riot.pid
|
||||||
|
1
start.js
1
start.js
@ -29,6 +29,7 @@ global.riotserver = 'http://localhost:8080';
|
|||||||
global.browser = null;
|
global.browser = null;
|
||||||
|
|
||||||
async function runTests() {
|
async function runTests() {
|
||||||
|
console.log("running tests ...");
|
||||||
global.browser = await puppeteer.launch();
|
global.browser = await puppeteer.launch();
|
||||||
const page = await helpers.newPage();
|
const page = await helpers.newPage();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user