yay -S docker docker-compose docker-credential-pass nodejs npm chromium
npx create-react-app test-app2 --template=typescript
Eslint & Prettier
npm init @eslint/config
And the install puppeteer:
npm install puppeteer puppeteer-core jest-puppeteer
Then all of the configuration and such is needed
# remember to install first
npm i
# start
npm start
docker build -t product-react-app .
docker run -d -p 80:80 product-react-app
Open:
http://localhost
Chromium needs to be installed due to puppeteer being used.
yay -S chromium
Get the path to it:
whereis chromium
And set it to that path in the e2e test files for executablePath
.
You may need separate terminals
npm start
npm run test:e2e