You will need to have node
npm
and yarn
installed
globally on your machine.
nvm use 14.15.0
- git clone this repo
cd app/client && yarn install --frozen-lockfile && cd ../../ && yarn install --frozen-lockfile
yarn dev
-- run in dev mode with live updates
yarn start
-- run in production mode to test, without packaging
yarn package
-- to package an app and make executables available in release
folder
yarn test
-- run all unit tests
yarn build-ux && yarn test-ux
-- run User Experience tests (no tests for app/client
yet)
yarn test-watch-not-silent
-- run tests in watch mode with console logs only for host app, excluding app/client
yarn test -- -u
-- update snapshots
yarn test
-- run client tests in watch mode
test:nowatch
-- run client tests a single time
yarn test -- -u
-- update snapshots
yarn coverage
-- when run from project root, generates a coverage report for host
and app/client
in root ./
folder of project run this:
yarn jest --updateSnapshot
in Alien Viewer ./app/client
folder of project run this:
cd app/client
SKIP_PREFLIGHT_CHECK=true yarn test:nowatch -- -u